You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hxb makes the issue visible when compiling this through compilation server:
interfaceFoo {
functionfoo<T>():T;
functionbar<T>():T;
functionbaz<T>():T;
}
classBarimplementsFoo {
publicfunctionfoo() returnnull; // Warning: Unbound type parameter foo.Tpublicfunctionbar<T>() returnnull; // Error: write_full_path hxb writer failurepublicfunctionbaz<T>():Treturnnull; // this is fine
}
While looking at what's happening (and so far failing addressing this issue...), I saw that cf_type was TFun([], TMono (Some (TAbstract(Null, [TMono (Some (TInst(T, [])))])))), with that T not having cl_kind = KTypeParameter ttp.
The text was updated successfully, but these errors were encountered:
This is very much related to #11411. At this point I'm convinced that valid_redefinition needs a complete rewrite, but doing so requires a very particular state of being.
Hxb makes the issue visible when compiling this through compilation server:
While looking at what's happening (and so far failing addressing this issue...), I saw that
cf_type
wasTFun([], TMono (Some (TAbstract(Null, [TMono (Some (TInst(T, [])))]))))
, with thatT
not havingcl_kind = KTypeParameter ttp
.The text was updated successfully, but these errors were encountered: