소스 검색

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

Simon Krajewski 8 년 전
부모
커밋
171618a68f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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?';
 	}
 }