mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-03 22:02:51 +01:00
Switch Declaration to use inheritance+cast (#714)
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user