mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
#KT-10397 Fixed According to JVMS (p. 4.3.4) inner classes should be separated with `$` in generic signature. Note that in Java, inner types separated with `.` after first parameterized type, and now we preserve the same behaviour. See tests for clarification.
9 lines
200 B
Kotlin
Vendored
9 lines
200 B
Kotlin
Vendored
class Outer {
|
|
inner class Inner<G>
|
|
|
|
fun <A> foo(): Inner<A> = TODO()
|
|
}
|
|
|
|
// method: Outer::foo
|
|
// jvm signature: ()LOuter$Inner;
|
|
// generic signature: <A:Ljava/lang/Object;>()LOuter$Inner<TA;>; |