summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan@lightbend.com>2016-12-05 08:48:36 +0100
committerAdriaan Moors <adriaan@lightbend.com>2016-12-05 08:48:55 +0100
commit7bf8ffa155ba66311a904c7eeaca79a70aa7e6f7 (patch)
tree774ea0d46857cbb3939a270c5e8915f2a3964c1d /test
parent7a57c6eec6c37e8ca3a7f182f0cf2604d7bc80df (diff)
downloadscala-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')
-rw-r--r--test/files/run/junitForwarders/C_1.scala4
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$ - ")
}