'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

View File

@@ -1,24 +0,0 @@
class MyList<T> {
private fun noSignature(): T? = null
fun withSignature(): T? = null
fun removeHeader() {
fun a () {
noSignature()
}
}
}
/*
Class signature,
local fun class signature,
'noSignature' and 'withSignature' fun signatures
*/
// 4 signature
// 2 signature \(\)TT\;
// 1 signature Lkotlin/jvm/internal/Lambda\;Lkotlin/jvm/functions/Function0<Lkotlin/Unit\;>\;
// 1 signature <T:Ljava/lang/Object\;>Ljava/lang/Object\;
// 1 public final static synthetic access\$noSignature\(LMyList\;\)Ljava/lang/Object