Explorar o código

Restore Log.trace early errors can be seen

Hugh Sanderson %!s(int64=7) %!d(string=hai) anos
pai
achega
20533c847d
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      tests/unit/src/unitstd/haxe/Log.unit.hx

+ 2 - 1
tests/unit/src/unitstd/haxe/Log.unit.hx

@@ -6,9 +6,10 @@ haxe.Log.trace = function(v, ?i) {
 	p = i;
 }
 trace("test trace");
+haxe.Log.trace = old;
 s == "test trace";
 p.fileName == "Log.unit.hx";
 p.lineNumber == 8;
 haxe.Log.trace = null;
 exc(function() trace("exc test"));
-haxe.Log.trace = old;
+haxe.Log.trace = old;