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
[error] 1|privateobjectFoo:
[error] |^
[error] |Doubledefinition:
[error] |definline$Foo():Foo in packageobjectMain$package at line 1 and
[error] |definline$Foo():Foo in packageobjectMain$package at line 1
[error] |have the same typeafter erasure.
[error] |
[error] |Consider adding a @targetName annotation to one of the conflicting definitions
[error] |for disambiguation.
[error] one error found
Expectation
No error.
The text was updated successfully, but these errors were encountered:
Accessors that are added to packages were removed to early from `accessedBy`.
This resulted in a new symbol beeing entered for the same accessor.
Fixesscala#13476
Accessors that are added to packages were removed to early from `accessedBy`.
This resulted in a new symbol beeing entered for the same accessor.
Fixesscala#13476
The necessary ingredients for this error:
Compiler version
v3.1.0-RC1
Minimized code
Output
Expectation
No error.
The text was updated successfully, but these errors were encountered: