Skip to content

Check path of module prefix for tailrec #23491

New issue

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

som-snytt
Copy link
Contributor

Fixes #23444

@som-snytt
Copy link
Contributor Author

Would be nice to add the prefix tests from the original PR and augment to show what is not optimized.

@som-snytt
Copy link
Contributor Author

Flaky

Error:  -- [E069] Naming Error: /__w/scala3/scala3/library/src/scala/IArray.scala:13:7 -
Error:  13 |object IArray:
Error:     |       ^
Error:     |object IArray cannot have the same name as object IArray in package scala -- cannot define object member with the same name as a object member in self reference _.
Error:     |(Note: this can be resolved by using another name)
Error:  -- [E069] Naming Error: /__w/scala3/scala3/library/src/scala/IArray.scala:13:7 -
Error:  13 |object IArray:
Error:     |       ^
Error:     |object IArray cannot have the same name as object IArray in package scala -- cannot define object member with the same name as a object member in self reference _.
Error:     |(Note: this can be resolved by using another name)

  Exception while compiling /__w/scala3/scala3/library/../out/bootstrap/scala3-library-bootstrapped/scala-3.7.3-RC1-bin-SNAPSHOT-nonbootstrapped/classes/scala/$times$colon.tasty, ...

@som-snytt som-snytt force-pushed the issue/23444-tailrec-this branch from 1db6a20 to 7f2a883 Compare July 11, 2025 21:56
@som-snytt som-snytt marked this pull request as ready for review July 11, 2025 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI freezes with latest ScalaFX requiring Java greater than 21 to run the JFXApp3 - inexplicable infinite loop
1 participant