summaryrefslogtreecommitdiff
path: root/test/files/neg/t5148.check
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2013-11-10 16:26:59 -0800
committerSom Snytt <som.snytt@gmail.com>2013-11-10 23:22:49 -0800
commit1d3156ca5dc07470212afa016b3ad17b02c27a99 (patch)
treeee1a25d1cc1f9cfb6193074ca561d61c9a187a4b /test/files/neg/t5148.check
parent1f834cdc9be78c2a6850044a9db24d461b5151ec (diff)
downloadscala-1d3156ca5dc07470212afa016b3ad17b02c27a99.tar.gz
scala-1d3156ca5dc07470212afa016b3ad17b02c27a99.tar.bz2
scala-1d3156ca5dc07470212afa016b3ad17b02c27a99.zip
SI-7747 Support class based wrappers clean up
Simplified the code paths to just use one of two `Wrapper` types for textual templating. Simplified the class-based template to use the same `$iw` name for the both the class and the wrapper value. In addition, the $read value is an object extending $read, instead of containing an extra instance field, which keeps paths to values the same for both templates. Both styles trigger loading the value object by referencing the value that immediately wraps the user code, although for the class style, inner vals are eager and it would suffice to load the enclosing `$read` object. The proposed template included extra vals for values imported from history, but this is not necessary since such an import is always a stable path. (Or, counter-example to test is welcome.) The test for t5148 is updated as a side effect. Probably internal APIs don't make good test subjects. Modify -Y option message.
Diffstat (limited to 'test/files/neg/t5148.check')
-rw-r--r--test/files/neg/t5148.check8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/files/neg/t5148.check b/test/files/neg/t5148.check
index 25107c4dbe..f426bd2010 100644
--- a/test/files/neg/t5148.check
+++ b/test/files/neg/t5148.check
@@ -1,9 +1,5 @@
-error: bad symbolic reference. A signature in Imports.class refers to term global
+error: bad symbolic reference. A signature in Imports.class refers to type Request
in class scala.tools.nsc.interpreter.IMain which is not available.
It may be completely missing from the current classpath, or the version on
the classpath might be incompatible with the version used when compiling Imports.class.
-error: bad symbolic reference. A signature in Imports.class refers to term memberHandlers
-in class scala.tools.nsc.interpreter.IMain which is not available.
-It may be completely missing from the current classpath, or the version on
-the classpath might be incompatible with the version used when compiling Imports.class.
-two errors found
+one error found