Skip to content
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

Add 3.4-migration, 3.4 to scala.runtime.stdLibPatches.language #18609

Closed
bishabosha opened this issue Sep 28, 2023 · 1 comment · Fixed by #18610
Closed

Add 3.4-migration, 3.4 to scala.runtime.stdLibPatches.language #18609

bishabosha opened this issue Sep 28, 2023 · 1 comment · Fixed by #18610
Assignees

Comments

@bishabosha
Copy link
Member

We need to ensure that dotty.tools.dotc.config.SourceVersion and scala.runtime.stdLibPatches.language stay in sync, at least with reminder comments, possibly with a test that analyses the tasty.

Compiler version

3.4.0-RC1-bin-SNAPSHOT (982c91b)

Minimized code

import scala.language.`3.4`

println("hello, world")

Output

1 |import scala.language.`3.4`
  |                       ^^^
  |                       value 3.4 is not a member of object language - did you mean language.3.0?

Expectation

compile ok

@bishabosha
Copy link
Member Author

@Kordyjan possibly a test/workflow also that checks that a stable release can't be made without the relevant source version being available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants