scala3 icon indicating copy to clipboard operation
scala3 copied to clipboard

fix(#17255): cannot find Scala companion module from Java

Open i10416 opened this issue 1 year ago • 1 comments

To find Scala companion mudule from Java, we should strip module suffix $. This ~provides workaround~ fixes #17255 as well as forward-port https://github.com/scala/scala/pull/10644. ~, but it requires some refinment to fix it because not-fully-qualified type like the following example still fails to compile due to missing symbol.~

Related to https://github.com/scala/scala/pull/10644

i10416 avatar Feb 24 '24 06:02 i10416

CI is failing because of https://github.com/lampepfl/dotty/issues/19772

i10416 avatar Feb 25 '24 14:02 i10416

Hello, thank you for opening this! I am getting to it

bishabosha avatar Feb 27 '24 15:02 bishabosha

Thank you very much for contributing this fix! I noticed its been a long time since you opened that issue originally, its probably annoying it didn't get any attention

bishabosha avatar Feb 28 '24 08:02 bishabosha