x64: enhance diagnostic for unhandled nodes

pull/4539/head
Delyan Angelov 2020-04-21 09:34:00 +03:00
parent 2597816ed6
commit 9d107007a1
1 changed files with 2 additions and 1 deletions

View File

@ -390,8 +390,9 @@ fn (mut g Gen) stmt(node ast.Stmt) {
g.ret()
}
ast.StructDecl {}
ast.Module {}
else {
println('x64.stmt(): bad node')
println('x64.stmt(): bad node: ' + typeof(node))
}
}
}