1
0
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:
Delyan Angelov 2020-04-21 09:34:00 +03:00
parent 2597816ed6
commit 9d107007a1

View File

@ -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))
} }
} }
} }