summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2016-02-24 17:35:32 -0800
committerAdriaan Moors <adriaan.moors@typesafe.com>2016-02-24 17:35:32 -0800
commit1421e3c66c7bc50c54759e48a7492923e391d186 (patch)
tree8da05bf53aaf908395953841467abbb8e0d81d9a /test
parenta4b7e1ca9196ccaee38f94a0ca0987ab2062dac1 (diff)
parent77115d03e41a072f2640d2a7c688bf82a38511e2 (diff)
downloadscala-1421e3c66c7bc50c54759e48a7492923e391d186.tar.gz
scala-1421e3c66c7bc50c54759e48a7492923e391d186.tar.bz2
scala-1421e3c66c7bc50c54759e48a7492923e391d186.zip
Merge pull request #4958 from adriaanm/typerefrefactor
Simplify TypeRef hierarchy. baseType returns NoType, as needed for isSubtype. Also improves performance.
Diffstat (limited to 'test')
-rw-r--r--test/files/run/delambdafy_t6028.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/delambdafy_t6028.check b/test/files/run/delambdafy_t6028.check
index c8c4b1cb4c..b5a6e4b64e 100644
--- a/test/files/run/delambdafy_t6028.check
+++ b/test/files/run/delambdafy_t6028.check
@@ -11,7 +11,7 @@ package <empty> {
def foo(methodParam: String): Function0 = {
val methodLocal: String = "";
{
- (() => T.this.$anonfun$1(methodParam, methodLocal)).$asInstanceOf[Function0]()
+ (() => T.this.$anonfun$1(methodParam, methodLocal))
}
};
def bar(barParam: String): Object = {
@@ -21,7 +21,7 @@ package <empty> {
def tryy(tryyParam: String): Function0 = {
var tryyLocal: runtime.ObjectRef = scala.runtime.ObjectRef.create("");
{
- (() => T.this.$anonfun$2(tryyParam, tryyLocal)).$asInstanceOf[Function0]()
+ (() => T.this.$anonfun$2(tryyParam, tryyLocal))
}
};
final <artifact> private[this] def $anonfun$1(methodParam$1: String, methodLocal$1: String): String = T.this.classParam.+(T.this.field()).+(methodParam$1).+(methodLocal$1);