diff options
Diffstat (limited to 'test/files/neg/t2870.check')
-rw-r--r-- | test/files/neg/t2870.check | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/files/neg/t2870.check b/test/files/neg/t2870.check index 72bc0d98a1..99522eca65 100644 --- a/test/files/neg/t2870.check +++ b/test/files/neg/t2870.check @@ -1,7 +1,9 @@ -t2870.scala:1: error: not found: type Jar (similar: Jars) +t2870.scala:1: error: not found: type Jar class Jars(jar: Jar) ^ -t2870.scala:6: error: illegal cyclic reference involving value <import> - val scala = fromClasspathString(javaClassPath) - ^ +t2870.scala:4: error: encountered unrecoverable cycle resolving import. +Note: this is often due in part to a class depending on a definition nested within its companion. +If applicable, you may wish to try moving some members into another object. + import scala.util.Properties.javaClassPath + ^ two errors found |