Deal with somewhat obscure haxe 4 issue.

This commit is contained in:
Juraj Kirchheim
2019-03-03 12:18:07 +01:00
parent 1604a135ae
commit ac908bc82d

View File

@@ -141,7 +141,9 @@ class BuildCache {
case v: v;
}
return forName.get(type, pos.sanitize(), build);
var ret = forName.get(type, pos.sanitize(), build);
ret.getFields();// workaround for https://github.com/HaxeFoundation/haxe/issues/7905
return ret;
}
}