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
Missing symbol occurrence for an upper bound of the type parameter of class/trait/object definition.
v3.0.1
class Foo[T <: Int]
class Foo/*<-example::Foo#*/[T/*<-example::Foo#[T]*/ <: Int]
For example, see: https://github.com/lampepfl/dotty/blob/49250915e0d28f3450f03d16a24c14577bc17562/tests/semanticdb/expect/i9782.expect.scala#L8
class Foo/*<-example::Foo#*/[T/*<-example::Foo#[T]*/ <: Int/*->scala::Int#*/]
See:
The text was updated successfully, but these errors were encountered:
I think this can be extracted by finding the matching type tree in the primary constructor
Sorry, something went wrong.
I'm taking a look at this issue :)
Also, some type annotations for DefDef lacks symbol occurrence https://github.com/lampepfl/dotty/blob/e7a641c5ad61fa683423954fa9263079a890c809/tests/semanticdb/expect/Prefixes.expect.scala#L27
Kordyjan
Successfully merging a pull request may close this issue.
Missing symbol occurrence for an upper bound of the type parameter of class/trait/object definition.
Compiler version
v3.0.1
Minimized example
Output
For example, see: https://github.com/lampepfl/dotty/blob/49250915e0d28f3450f03d16a24c14577bc17562/tests/semanticdb/expect/i9782.expect.scala#L8
Expectation
Possible solution
See:
The text was updated successfully, but these errors were encountered: