mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
x64: enhance diagnostic for unhandled nodes
This commit is contained in:
parent
2597816ed6
commit
9d107007a1
@ -390,8 +390,9 @@ fn (mut g Gen) stmt(node ast.Stmt) {
|
|||||||
g.ret()
|
g.ret()
|
||||||
}
|
}
|
||||||
ast.StructDecl {}
|
ast.StructDecl {}
|
||||||
|
ast.Module {}
|
||||||
else {
|
else {
|
||||||
println('x64.stmt(): bad node')
|
println('x64.stmt(): bad node: ' + typeof(node))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user