Commit 05b0afc
committed
Do not require @experimental on anonymous classes
These calsses will not define new methods in the API for which we would need to check the presence of the annotation.
Fixes #130911 parent d662b3c commit 05b0afc
File tree
3 files changed
+9
-1
lines changed- compiler/src/dotty/tools/dotc/typer
- tests
- neg-custom-args/no-experimental
- pos
3 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1186 | 1186 | | |
1187 | 1187 | | |
1188 | 1188 | | |
1189 | | - | |
| 1189 | + | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments