Module: panic when encountering unimplemented node

This commit is contained in:
Noam Preil
2020-08-13 12:35:17 -04:00
parent 34923e071e
commit 93619a5e4e

View File

@@ -1580,6 +1580,8 @@ fn analyzeRootSrcFile(self: *Module, root_scope: *Scope.File) !void {
}
}
}
} else {
std.debug.panic("TODO: analyzeRootSrcFile {}", .{src_decl.tag});
}
// TODO also look for global variable declarations
// TODO also look for comptime blocks and exported globals