We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are some complex examples where this doesn't work in the experimental version of interface implementation. Such as
interface I<T> { T foo(List<T> bar); }
Because storing the type parameter loses the original type and reconstructing List from the stored type creates a JList<JObject> which is incorrect.
JList<JObject>
Also generic methods in interfaces need to expose JObjTypes for their type parameters:
JObjType
interface I { <S> S foo(S bar); }
// Should be exposed like: $S Function<$S extends JObject>($S bar, {required JObjType<$S> S});
The text was updated successfully, but these errors were encountered:
HosseinYousefi
Successfully merging a pull request may close this issue.
There are some complex examples where this doesn't work in the experimental version of interface implementation. Such as
Because storing the type parameter loses the original type and reconstructing List from the stored type creates a
JList<JObject>
which is incorrect.Also generic methods in interfaces need to expose
JObjType
s for their type parameters:The text was updated successfully, but these errors were encountered: