'bytecodeText' test for synthetic accessor generic signature converted to 'writeSignature' test

This commit is contained in:
Mikhael Bogdanov
2016-05-04 14:40:11 +03:00
parent ee7bbbf530
commit cd6b709ef5
4 changed files with 26 additions and 39 deletions
@@ -0,0 +1,20 @@
class MyList<T> {
private fun noSignature(): T? = null
fun withSignature(): T? = null
fun removeHeader() {
fun a () {
noSignature()
}
}
}
// method: MyList::withSignature
// jvm signature: ()Ljava/lang/Object;
// generic signature: ()TT;
// method: MyList::access$noSignature
// jvm signature: (LMyList;)Ljava/lang/Object;
// generic signature: null