diff options
author | Paul Phillips <paulp@improving.org> | 2013-02-11 20:08:44 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-02-11 20:08:44 -0800 |
commit | f51ed74aa3aa142c8aa9d5f9d03e0c244737f66e (patch) | |
tree | 65207d8e62061692b8f32d2d994426fb13c923b0 /test | |
parent | d2696dc8137ef8999c7ebac20403392589988dfd (diff) | |
parent | de2410b0cd5a4e1e2436b7c330b17f26d972a48c (diff) | |
download | scala-f51ed74aa3aa142c8aa9d5f9d03e0c244737f66e.tar.gz scala-f51ed74aa3aa142c8aa9d5f9d03e0c244737f66e.tar.bz2 scala-f51ed74aa3aa142c8aa9d5f9d03e0c244737f66e.zip |
Merge pull request #2113 from scalamacros/topic/silence
silences t6323a
Diffstat (limited to 'test')
-rw-r--r-- | test/files/neg/t6323a.check | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t6323a.check b/test/files/neg/t6323a.check index a80c9a0a81..4d682e5422 100644 --- a/test/files/neg/t6323a.check +++ b/test/files/neg/t6323a.check @@ -1,3 +1,9 @@ +t6323a.scala:10: materializing requested scala.reflect.type.ClassTag[Test] using `package`.this.materializeClassTag[Test]() + val lookAtMe = m.reflect(Test("a",List(5))) + ^ +t6323a.scala:11: materializing requested reflect.runtime.universe.type.TypeTag[Test] using `package`.this.materializeTypeTag[Test](scala.reflect.runtime.`package`.universe) + val value = u.typeOf[Test] + ^ t6323a.scala:11: `package`.this.materializeTypeTag[Test](scala.reflect.runtime.`package`.universe) is not a valid implicit value for reflect.runtime.universe.TypeTag[Test] because: failed to typecheck the materialized tag: cannot create a TypeTag referring to local class Test.Test: use WeakTypeTag instead |