Switch Declaration to use inheritance+cast (#714)

This commit is contained in:
Jon Meow authored and GitHub committed 2021-08-06 14:57:44 -07:00
1 parent 7c03858b55
commit c1148caf7d
11 files changed
+206 -202

No files matched your search

+1 -1
View File
@@ -39,5 +39,5 @@ int main(int argc, char* argv[]) {
}
// Typecheck and run the parsed program.
Carbon::ExecProgram(&std::get<Carbon::AST>(ast_or_error));
Carbon::ExecProgram(std::get<Carbon::AST>(ast_or_error));
}