diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2016-03-16 16:14:27 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2016-03-18 11:51:45 +1000 |
commit | dc9effeb3af789d9e4a6b8e126ac73ac718270fa (patch) | |
tree | 1e133925808f155772b5ae0d604ba37bf35f6b49 /test/files/run/t5652/t5652_2.scala | |
parent | c8e6050c3c190dd064642b6b77fc179f27b0495d (diff) | |
download | scala-dc9effeb3af789d9e4a6b8e126ac73ac718270fa.tar.gz scala-dc9effeb3af789d9e4a6b8e126ac73ac718270fa.tar.bz2 scala-dc9effeb3af789d9e4a6b8e126ac73ac718270fa.zip |
Remove manual mixins in JFunctionN.v2.12.0-M3-dc9effe
These manual mixins were forwarding to the impl classes have
just been removed. We can now rely on default methods instead.
Update Tests:
- Fix test/files/pos/t1237.scala, we can't have an outer field
in an interface, always use the outer method.
- Don't crash on meaningless trait early init fields
test/files/neg/t2796.scala
- Remove impl class relate parts of inner class test
- Remove impl class relate parts of elidable test
- Remove impl class related reflection test.
- Remove test solely about trait impl classes renaming
- Update check file with additional stub symbol error
- Disable unstable parts of serialization test.
- TODO explain, and reset the expectation
Diffstat (limited to 'test/files/run/t5652/t5652_2.scala')
-rw-r--r-- | test/files/run/t5652/t5652_2.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t5652/t5652_2.scala b/test/files/run/t5652/t5652_2.scala index 765d16f8f5..d1de937e31 100644 --- a/test/files/run/t5652/t5652_2.scala +++ b/test/files/run/t5652/t5652_2.scala @@ -4,6 +4,6 @@ class A2 extends A1 with T1{ object Test extends A2 { def main(args: Array[String]) { - println(Seq(Class.forName(classOf[T1].getName + "$class"), classOf[A1], classOf[A2]).flatMap(_.getDeclaredMethods.map(_.toString).sorted).mkString("\n")) + println(Seq(classOf[T1], classOf[A1], classOf[A2]).flatMap(_.getDeclaredMethods.map(_.toString).sorted).mkString("\n")) } } |