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

In Scala 3 TASTy reader, restrict access to experimental definitions #10020

Merged
merged 1 commit into from May 5, 2022

Conversation

bishabosha
Copy link
Member

@bishabosha bishabosha commented Apr 27, 2022

experimental definitions are treated like compileTimeOnly.
Test that a scala 3 application can not depend on a scala 2
library that uses experimental definitions.

There is a modification to RefChecks to add@experimental to checkUndesiredProperties - also I seem to have uncovered a bug in RefChecks where it will not check Foo in List[Foo]().

@scala-jenkins scala-jenkins added this to the 2.13.10 milestone Apr 27, 2022
@SethTisue SethTisue modified the milestones: 2.13.10, 2.13.9 Apr 27, 2022
@SethTisue SethTisue added the release-notes worth highlighting in next release notes label Apr 27, 2022
@dwijnand dwijnand assigned bishabosha and unassigned dwijnand Apr 28, 2022
experimental definitions are treated like compileTimeOnly.
Test that a scala 3 application can not depend on a scala 2
library that uses experimental definitions.
@bishabosha
Copy link
Member Author

fixed JavaUniverseForce

@bishabosha bishabosha assigned dwijnand and unassigned bishabosha Apr 29, 2022
@SethTisue SethTisue removed their request for review May 3, 2022 17:56
@dwijnand dwijnand merged commit 33a82d8 into scala:2.13.x May 5, 2022
@SethTisue SethTisue changed the title restrict experimental definitions In Scala 3 TASTy reader, restrict access to experimental definitions Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes worth highlighting in next release notes tastyreader
Projects
None yet
4 participants