From c012616a64909dec2a7860d1a17cc9e5732af2ce Mon Sep 17 00:00:00 2001 From: John Hodge Date: Tue, 2 Aug 2016 14:06:27 +0800 Subject: HIR Typecheck - Draft validation pass --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 84ee907d..b736045c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -178,6 +178,9 @@ int main(int argc, char *argv[]) CompilePhaseV("Typecheck Expressions", [&]() { Typecheck_Expressions(*hir_crate); }); + CompilePhaseV("Typecheck Expressions (validate)", [&]() { + Typecheck_Expressions_Validate(*hir_crate); + }); if( params.last_stage == ProgramParams::STAGE_TYPECK ) { return 0; -- cgit v1.2.3