Commit 929714c
authored
Tag experimental API tests (#19811)
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`File tree
144 files changed
+244
-17
lines changed- tests
- neg-macros
- i18677-a
- i18677-b
- newClassExtendsNoParents
- newClassExtendsOnlyTrait
- pos-macros
- annot-in-object
- annot-suspend
- annot-then-inline
- i15413b
- i15413
- i19526b
- run-macros
- Xmacro-settings-compileTimeEnv
- Xmacro-settings-simple
- annot-add-global-class
- annot-add-global-object
- annot-add-local-class
- annot-add-local-object
- annot-add-nested-class
- annot-add-nested-object
- annot-annot-order
- annot-bind
- annot-changeVal
- annot-concrete-class
- annot-export
- annot-gen2
- annot-generate
- annot-macro-main
- annot-memo
- annot-mod-class-add-def
- annot-mod-class-add-inner-class
- annot-mod-class-add-lazy-val
- annot-mod-class-add-local-class
- annot-mod-class-add-val
- annot-mod-class-add-var
- annot-mod-class-data
- annot-mod-class-equals
- annot-mod-class-mod-def
- annot-mod-class-mod-val
- annot-mod-class-override-def
- annot-mod-class-override-val
- annot-mod-class-unused-new-sym
- annot-result-order
- annot-simple-fib
- i11685
- i16734b
- newClassExtendsClassParams
- newClassExtends
- newClassSelf
- newClass
- run
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
144 files changed
+244
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
0 commit comments