tests/TestCompiler.vala
[app.Builder.js] / tests / TestCompiler.vala
index 3d1f3ce..23ccb9d 100644 (file)
@@ -126,7 +126,7 @@ namespace Palete {
                                 
                                Vala.CodeContext.pop ();
                                 
-                               return this.report.line_errors;
+                               return;
                        }
 
 
@@ -136,7 +136,7 @@ namespace Palete {
                        if (context.report.get_errors () > 0) {
                                 Vala.CodeContext.pop ();
                                 
-                               return this.report.line_errors;
+                               return ;
                                
                        }
                        
@@ -175,7 +175,7 @@ namespace Palete {
 int main (string[] args) {
 
        for (var i = 0;i < 1000;i++) {
-               var a = new TestCompiler(file);
+               var a = new Palete.TestCompiler("/home/alan/gitlive/app.Builder.js/tests/TestCompiler.vala");
                a.compileString();
        }
        return 0;