Selaa lähdekoodia

[neko] Fix createEmptyInstance on class without a constructor

Cauê Waneck 11 vuotta sitten
vanhempi
commit
08867b33ee
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      tests/unit/src/unit/issues/Issue3516.hx

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

@@ -20,7 +20,7 @@ private class A<T> {
 
 private class B extends A<C> {}
 
-private class C {}
+private class C { @:keep public function new() {} }
 
 class TestMain {
     static function main() {