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
The semanticdb file contains no symbol occurrence for the constructor when compiled under Scala 3.3.0. When compiled under Scala 2.13.11 and using the semanticdb-scalac plugin a symbol occurrence is included for the constructor.
fixes#18319
note that we still do not produce occurrences for the primary
constructor's own parameters, it seems in scala 2 implementation only
the local backing field has occurrences.
Compiler version
3.3.0
Minimized code
Output
The semanticdb file contains no symbol occurrence for the constructor when compiled under Scala 3.3.0. When compiled under Scala 2.13.11 and using the
semanticdb-scalac
plugin a symbol occurrence is included for the constructor.Output of the
metap
utility (cf. semanticdb-guide):Semanticdb file produced by Scala 3.3.0:
Semanticdb file produced by
semanticdb-scalac
plugin under Scala 2.13.11:Expectation
The symbol occurrence for the constructor should be present.
The text was updated successfully, but these errors were encountered: