Files
kotlin/compiler/testData/loadJava/compiledKotlinWithStdlib/coroutines/annotatedSuspendFun.kt
Denis Zharkov 2d88419c38 Fix annotation deserialization on suspend functions
Use proper initial/frontend version of suspend descriptor
when writing METHOD_FOR_FUNCTION, because serializer uses this version

Also this commit contains adjustments of neighboring code to the describe
change

 #KT-16093 Fixed
2017-02-03 16:44:22 +03:00

6 lines
104 B
Kotlin
Vendored

//ALLOW_AST_ACCESS
package test
annotation class Anno(val t: String)
@Anno("foo") suspend fun foo() {}