Closed Simn closed 5 years ago
The first one is a stupid problem specific to Class<T>
:
class Main {
static public function main() {
var c = new Main();
Sys.println(c.someField(Main));
}
public function new() { }
@:overload public function someField(c:Class<Dynamic>) {
return 0;
}
}
The problem is that I have @:native("java.lang.Class")
on Class
and that has already been applied at this point, which makes the unification | TAnon an, TAbstract ({ a_path = [],"Class" },[pt]) ->
not match.
Since only #30 remains I'll close this one.
src/unit/TestOverloads.hx:194: characters 6-11 : Could not find overload
No idea why this is so special.
src/unit/issues/Issue3024.hx:20: characters 2-32 : Recursive signature?
That's #30
src/unit/issues/Issue7335.hx:8: characters 17-25 : Unuspported unop on Ljava/lang/Object;
That's https://github.com/Simn/genjvm/issues/29#issuecomment-478681966
Getting close!