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

Tag experimental API tests #19811

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Feb 28, 2024

Add explicitly -experimental -Yno-experimental to tests that use definitions that are @experimental in the standard library. -Yno-experimental disables the experimental mode from nightly builds and -experimental adds @experimental to all top-level definitions.

This is in preparation of #19760 and the disabling of experimental mode by default in nightly builds. When nighly experimental mode will be disabled we will be able to drop the -Yno-experimental.

These tests are for

  • scala.annotation.MacroAnnotation
  • scala.annotation.MainAnnotation
  • scala.annotation.newMain
  • scala.util.TupledFunction
  • Expreminetal definitions in scala.quoted.Quotes

@nicolasstucki nicolasstucki self-assigned this Feb 28, 2024
@nicolasstucki nicolasstucki marked this pull request as ready for review February 28, 2024 17:52
Add explicitly `-experimental -Yno-experimental` to tests that use
definitions that are `@experimental` in the standard library.
`-Yno-experimental` disables the experimental mode from nightly builds
and `-experimental` adds `@experimental` to all top-level definitions.
@nicolasstucki nicolasstucki merged commit 929714c into scala:main Feb 29, 2024
19 checks passed
@nicolasstucki nicolasstucki deleted the tag-experimental-tests branch February 29, 2024 14:16
nicolasstucki added a commit to dotty-staging/dotty that referenced this pull request Mar 1, 2024
nicolasstucki added a commit that referenced this pull request Mar 4, 2024
nicolasstucki added a commit to dotty-staging/dotty that referenced this pull request Mar 7, 2024
nicolasstucki added a commit to dotty-staging/dotty that referenced this pull request Mar 7, 2024
nicolasstucki added a commit that referenced this pull request Mar 11, 2024
@Kordyjan Kordyjan added this to the 3.4.2 milestone Mar 28, 2024
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.

3 participants