Test for syntax errors in field annotations
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
|
||||
import java.lang.String;
|
||||
|
||||
public class SyntaxErrorInFieldAnnotation {
|
||||
@KotlinSignature("var foo : ")
|
||||
public String foo;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
import java.util.*
|
||||
|
||||
public open class SyntaxErrorInFieldAnnotation : Object() {
|
||||
public var foo : String? = ""
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace test
|
||||
|
||||
public open class test.SyntaxErrorInFieldAnnotation : java.lang.Object {
|
||||
public final /*constructor*/ fun <init>(): test.SyntaxErrorInFieldAnnotation
|
||||
public final var foo: jet.String?
|
||||
}
|
||||
Reference in New Issue
Block a user