From 91d28555dfa9dfa24323bc6db08e75e10303a93f Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 14 May 2015 18:06:03 +0800 Subject: [PATCH] tests/TestCompiler.vala --- tests/TestCompiler.vala | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/TestCompiler.vala b/tests/TestCompiler.vala index 6ff082b53..be9372778 100644 --- a/tests/TestCompiler.vala +++ b/tests/TestCompiler.vala @@ -158,6 +158,11 @@ namespace Palete { */ Vala.CodeContext.pop (); + + context.resolver.resolve(new Vala.CodeContext()); + context.analyzer.context = null; + context.flow_analyzer.analyze(new Vala.CodeContext()); + context.analyzer = null; //(new Vala.CodeNode()).get_error_types().clear(); //(new Vala.NullType()).get_type_arguments().clear(); -- 2.39.2