Pārlūkot izejas kodu

trick AS3 because I can't be arsed to look into that issue

Simon Krajewski 8 gadi atpakaļ
vecāks
revīzija
171618a68f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      tests/unit/src/unit/issues/Issue6290.hx

+ 1 - 1
tests/unit/src/unit/issues/Issue6290.hx

@@ -12,8 +12,8 @@ private class TakeParent {
 
 private class TakeChild extends TakeParent {
 	public function new(child:Child) {
-		if (!Std.is(child, Child)) throw 'wtf?';
 		super(child);
+		if (!Std.is(child, Child)) throw 'wtf?';
 	}
 }