Ver código fonte

run tests without -D analyzer

Simon Krajewski 10 anos atrás
pai
commit
b9e8ac656c

+ 1 - 1
tests/unit/compile-each.hxml

@@ -5,4 +5,4 @@
 -resource res1.txt@re/s?!%[]))("'1.txt
 -resource res2.bin@re/s?!%[]))("'1.bin
 -dce full
--D analyzer
+#-D analyzer

+ 2 - 0
tests/unit/src/unit/issues/Issue3861.hx

@@ -2,9 +2,11 @@ package unit.issues;
 
 class Issue3861 extends unit.Test {
 	function test() {
+		#if analyzer
 		var a;
 		var b = function() return a;
 		a = 2;
 		eq(2, b());
+		#end
 	}
 }