Closed soronpo closed 1 month ago
Yes, binary and tasty and even source compatibility are issues.
No, we cannot ever change the naming of anonymous givens. It is what it is.
Yes, binary and tasty and even source compatibility are issues.
No, we cannot ever change the naming of anonymous givens. It is what it is.
@sjrd What if we only do the following in case of a double definition conflict?:
final lazy val given_Foo: Playground.Bar.Foo = ???
final lazy given val given_Bar_Foo: Playground.Bar.Foo = given_Foo
That should preserve both source and binary compatibility.
No, it won't. We don't know which one was added first and must be preserved. If they're separately compiled, we also don't know which one to rename.
Compiler version
v3.5.0
Minimized code
Output
Expectation
Naming will be according to the full select name to resolve the double definition.
I'm unsure if binary compatibility is an issue here.