Fix absence of annotation for function type in cls stubs and ignore @ExtensionFunctionType

This commit is contained in:
Nikolay Krasko
2016-10-24 14:53:05 +03:00
parent d1dfcfaca1
commit a344ad0644
2 changed files with 13 additions and 6 deletions
@@ -11,13 +11,13 @@ public class AnnotationsOnNullableTypes {
fun returnArgument(): B<@A C?> = null!!
val lambdaType: @A() (() -> C)? = null // TODO: Annotation is lost in stubs
val lambdaType: @A() (() -> C)? = null
val lambdaParameter: (@A C?) -> C = null!!
val lambdaReturnValue: () -> @A C? = null!!
val lambdaReceiver: @A C.() -> C = null!! // TODO: Annotation is lost in stubs
val lambdaReceiver: @A C.() -> C = null!!
}
@Target(AnnotationTarget.TYPE, AnnotationTarget.TYPE_PARAMETER)