File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 1
- -- [E008] Not Found Error: tests/neg/no-patches.scala:3:23 -------------------------------------------------------------
1
+ Flag -Yno-stdlib-patches set repeatedly
2
+ -- Error: tests/neg/no-patches.scala:3:23 ------------------------------------------------------------------------------
2
3
3 |val _ = scala.language.`3.4` // error: we do not patch `scala.language`
3
4
| ^^^^^^^^^^^^^^^^^^^^
4
- | value 3.4 is not a member of object language
5
- -- [E008] Not Found Error: tests/neg/no-patches.scala:4:36 -------------------------------------------------------------
5
+ | ` 3.4` can only be used at compile time in import statements
6
+ -- Error: tests/neg/no-patches.scala:4:36 ----------------- -------------------------------------------------------------
6
7
4 |val _ = scala.language.experimental.modularity // error: we do not patch `scala.language.experimental`
7
8
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8
- | value modularity is not a member of object language.experimental
9
- -- [E008] Not Found Error: tests/neg/no-patches.scala:5:15 -------------------------------------------------------------
10
- 5 |val _ = Predef.summon[DummyImplicit] // error: we do not patch `scala.Predef`
11
- | ^^^^^^^^^^^^^
12
- | value summon is not a member of object Predef
9
+ | `modularity` can only be used at compile time in import statements
Original file line number Diff line number Diff line change 2
2
3
3
val _ = scala.language.`3.4` // error: we do not patch `scala.language`
4
4
val _ = scala.language.experimental.modularity // error: we do not patch `scala.language.experimental`
5
- val _ = Predef .summon[DummyImplicit ] // error: we do not patch `scala.Predef`
You can’t perform that action at this time.
0 commit comments