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
when extends abstract class, method parameter type cannot be inferred.
Playground link with relevant code
compile without error
compile fail caused by line 36 line 30: data shoule be inferred as Data<Type.A>
data
Data<Type.A>
The text was updated successfully, but these errors were encountered:
Duplicate of #31470 / #1373. Used search terms: parameter type override infer
parameter type override infer
Sorry, something went wrong.
No branches or pull requests
Bug Report
π Search Terms
when extends abstract class,
method parameter type cannot be inferred.
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π Actual behavior
compile without error
π Expected behavior
compile fail caused by line 36
line 30:
data
shoule be inferred asData<Type.A>
The text was updated successfully, but these errors were encountered: