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

allow import language.3.1 #13773

Closed
bishabosha opened this issue Oct 19, 2021 · 0 comments · Fixed by #13797
Closed

allow import language.3.1 #13773

bishabosha opened this issue Oct 19, 2021 · 0 comments · Fixed by #13797
Assignees
Milestone

Comments

@bishabosha
Copy link
Member

bishabosha commented Oct 19, 2021

Compiler version

3.1.0

Minimized example

import language.`3.1`

Output

./test.scala:1:17: value 3.1 is not a member of object language - did you mean language.3.0?
import language.`3.1`
                ^^^^^

Expectation

it should work, this seems to have been overlooked in #13617

However since 3.1.0 is released I guess this can't happen until a hypothetical Scala 3.2

@bishabosha bishabosha changed the title allow import language.3.1 allow import language.3.1 Oct 19, 2021
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Oct 22, 2021
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Oct 22, 2021
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Oct 22, 2021
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Oct 26, 2021
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Nov 1, 2021
olsdavis pushed a commit to olsdavis/dotty that referenced this issue Apr 4, 2022
@Kordyjan Kordyjan added this to the 3.1.2 milestone Aug 2, 2023
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 a pull request may close this issue.

4 participants