浏览代码

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?';
 	}
 }