We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a732aaa commit cfa242eCopy full SHA for cfa242e
tests/generic-java-signatures/17069.scala
@@ -4,5 +4,7 @@ class Foo:
4
5
@main def Test =
6
val tpe = classOf[Foo].getDeclaredField("generic").getGenericType()
7
+ assert(tpe.getTypeName == "scala.collection.immutable.List<java.lang.String>")
8
+
9
val tpe2 = classOf[Foo].getDeclaredMethod("generic").getGenericReturnType()
- assert(tpe == tpe2)
10
+ assert(tpe2.getTypeName == "scala.collection.immutable.List<java.lang.String>")
0 commit comments