diff options
author | Adriaan Moors <adriaan@lightbend.com> | 2016-12-05 08:48:36 +0100 |
---|---|---|
committer | Adriaan Moors <adriaan@lightbend.com> | 2016-12-05 08:48:55 +0100 |
commit | 7bf8ffa155ba66311a904c7eeaca79a70aa7e6f7 (patch) | |
tree | 774ea0d46857cbb3939a270c5e8915f2a3964c1d /test/files/run | |
parent | 7a57c6eec6c37e8ca3a7f182f0cf2604d7bc80df (diff) | |
download | scala-7bf8ffa155ba66311a904c7eeaca79a70aa7e6f7.tar.gz scala-7bf8ffa155ba66311a904c7eeaca79a70aa7e6f7.tar.bz2 scala-7bf8ffa155ba66311a904c7eeaca79a70aa7e6f7.zip |
Drop annotations from trait static super accessor
Based on review suggestion by retronym.
See also scala/scala-dev#213
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/junitForwarders/C_1.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/junitForwarders/C_1.scala b/test/files/run/junitForwarders/C_1.scala index 2af2026a61..0361ef42ef 100644 --- a/test/files/run/junitForwarders/C_1.scala +++ b/test/files/run/junitForwarders/C_1.scala @@ -10,6 +10,6 @@ object Test extends App { assert(s == e, s"found: $s\nexpected: $e") } check(classOf[C], "foo - @org.junit.Test()") - // TODO scala-dev#213: should `foo$` really carry the @Test annotation? - check(classOf[T], "$init$ - ;foo - @org.junit.Test();foo$ - @org.junit.Test()") + // scala/scala-dev#213, scala/scala#5570: `foo$` should not have the @Test annotation + check(classOf[T], "$init$ - ;foo - @org.junit.Test();foo$ - ") } |