summaryrefslogtreecommitdiff
path: root/test/files/run/t6331b.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2015-09-17 13:32:51 +1000
committerJason Zaugg <jzaugg@gmail.com>2015-09-22 08:33:08 +1000
commite265373660e4727be6fcc6104d7a722ca662b53b (patch)
tree63f924b6445e4b0f74c6d4b1bd35be6a0aa8fb0e /test/files/run/t6331b.check
parent76269ca7a63848aee1f141da75be8ca436bf9e6c (diff)
downloadscala-e265373660e4727be6fcc6104d7a722ca662b53b.tar.gz
scala-e265373660e4727be6fcc6104d7a722ca662b53b.tar.bz2
scala-e265373660e4727be6fcc6104d7a722ca662b53b.zip
SI-9473 Cleaner references to statically owned symbols
Ever wonder why `identity("")` typechecks to `scala.this.Predef.identity("")`? It turns out that `mkAttributedRef` was importing `q"$scalaPackageClass.this.Predef._"` for all these years, rather than `q"$scalaModule.Predef._"`. This commit makes `mkAttributedRef` special case static owners by referring the the corresponding module, instead.
Diffstat (limited to 'test/files/run/t6331b.check')
-rw-r--r--test/files/run/t6331b.check6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/t6331b.check b/test/files/run/t6331b.check
index 6ca09e3814..565348ce3f 100644
--- a/test/files/run/t6331b.check
+++ b/test/files/run/t6331b.check
@@ -10,19 +10,19 @@ else
-0.0
res: Double = 0.0
-trace> Test.this.intercept.apply[Any](if (scala.this.Predef.???)
+trace> Test.this.intercept.apply[Any](if (scala.Predef.???)
-0.0
else
0.0)
res: Any = class scala.NotImplementedError
-trace> Test.this.intercept.apply[Any](if (scala.this.Predef.???)
+trace> Test.this.intercept.apply[Any](if (scala.Predef.???)
0.0
else
0.0)
res: Any = class scala.NotImplementedError
-trace> Test.this.intercept.apply[Any](if (scala.this.Predef.???)
+trace> Test.this.intercept.apply[Any](if (scala.Predef.???)
()
else
())