mirror of
https://github.com/vlang/v.git
synced 2025-09-14 23:12:33 +03:00
compiler: add support for panic_debug with -cg
This commit is contained in:
parent
0b750a234f
commit
242670a33d
5 changed files with 14 additions and 1 deletions
|
@ -286,6 +286,7 @@ fn (mut p Parser) interface_decl() ast.InterfaceDecl {
|
|||
mut method := ast.FnDecl{
|
||||
name: name
|
||||
args: args
|
||||
file: p.file_name
|
||||
return_type: table.void_type
|
||||
}
|
||||
if p.tok.kind.is_start_of_type() && p.tok.line_nr == line_nr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue