|
1 |
| --- [E173] Reference Error: tests/neg/i18545.scala:13:20 ---------------------------------------------------------------- |
2 |
| -13 | def test: IOLocal.IOLocalImpl[Int] = // error |
| 1 | +-- [E173] Reference Error: tests/neg/i18545.scala:16:20 ---------------------------------------------------------------- |
| 2 | +16 | def test: IOLocal.IOLocalImpl[Int] = // error |
3 | 3 | | ^^^^^^^^^^^^^^^^^^^
|
4 | 4 | |class IOLocalImpl cannot be accessed as a member of iolib.IOLocal.type from the top-level definitions in package tests.
|
5 | 5 | | private[IOLocal] class IOLocalImpl can only be accessed from object IOLocal in package iolib.
|
6 |
| --- [E173] Reference Error: tests/neg/i18545.scala:14:24 ---------------------------------------------------------------- |
7 |
| -14 | IOLocal.IOLocalImpl.apply(42) // error |
| 6 | +-- [E173] Reference Error: tests/neg/i18545.scala:17:24 ---------------------------------------------------------------- |
| 7 | +17 | IOLocal.IOLocalImpl.apply(42) // error |
8 | 8 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
9 | 9 | |method apply cannot be accessed as a member of iolib.IOLocal.IOLocalImpl.type from the top-level definitions in package tests.
|
10 | 10 | | private[IOLocal] method apply can only be accessed from object IOLocal in package iolib.
|
11 |
| --- [E050] Type Error: tests/neg/i18545.scala:15:22 --------------------------------------------------------------------- |
12 |
| -15 | def test2 = IOLocal.IOLocalImpl(42) // error |
| 11 | +-- [E050] Type Error: tests/neg/i18545.scala:18:22 --------------------------------------------------------------------- |
| 12 | +18 | def test2 = IOLocal.IOLocalImpl(42) // error |
13 | 13 | | ^^^^^^^^^^^^^^^^^^^
|
14 | 14 | | object IOLocalImpl in object IOLocal does not take parameters
|
15 | 15 | |
|
16 | 16 | | longer explanation available when compiling with `-explain`
|
| 17 | +-- [E173] Reference Error: tests/neg/i18545.scala:19:22 ---------------------------------------------------------------- |
| 18 | +19 | def test3 = IOLocal.AltIOLocalImpl.apply(42) // error |
| 19 | + | ^^^^^^^^^^^^^^^^^^^^^^ |
| 20 | + |object AltIOLocalImpl cannot be accessed as a member of iolib.IOLocal.type from the top-level definitions in package tests. |
| 21 | + | private[IOLocal] object AltIOLocalImpl can only be accessed from object IOLocal in package iolib. |
| 22 | +-- [E173] Reference Error: tests/neg/i18545.scala:20:22 ---------------------------------------------------------------- |
| 23 | +20 | def test4 = IOLocal.AltIOLocalImpl(42) // error |
| 24 | + | ^^^^^^^^^^^^^^^^^^^^^^ |
| 25 | + |object AltIOLocalImpl cannot be accessed as a member of iolib.IOLocal.type from the top-level definitions in package tests. |
| 26 | + | private[IOLocal] object AltIOLocalImpl can only be accessed from object IOLocal in package iolib. |
0 commit comments