Files
kotlin/compiler/testData/loadJava/sourceJava/NullInAnnotation.txt
Andrey Breslav 314b1e371b Test for the case when annotation arguments contain null in Java
This is an error in Java, but it may be present in the source by mistake
2014-01-20 16:17:53 +04:00

14 lines
565 B
Plaintext

package test
public /*synthesized*/ fun NullInAnnotation(/*0*/ function: () -> jet.Unit): test.NullInAnnotation
public trait NullInAnnotation : java.lang.Object {
test.NullInAnnotation.Ann(a = null: jet.Nothing?, b = {null}: jet.Array<jet.String>) public abstract fun foo(): jet.Unit
public final annotation class Ann : jet.Annotation {
public constructor Ann(/*0*/ a: jet.String, /*1*/ vararg b: jet.String /*jet.Array<jet.String>*/)
public abstract fun a(): jet.String
public abstract fun b(): jet.Array<jet.String>
}
}