Rudy Ges před 7 měsíci
rodič
revize
471920b9be

+ 16 - 0
tests/misc/projects/Issue5214/Main.hx

@@ -0,0 +1,16 @@
+class C<T:{a:Int}>{
+    var v:T;
+    public function new(v:T) this.v = v;
+}
+
+class Main {
+
+    static var ab:{a:Int,b:String} = {a:1,b:""};
+    static var c  = new C(ab);
+    static var c1 = new C({a:1,b:""});
+
+    static function main(){
+        var c  = new C(ab);
+        var c1 = new C({a:1,b:""});
+    }
+}

+ 1 - 0
tests/misc/projects/Issue5214/compile.hxml

@@ -0,0 +1 @@
+-main Main