Check field signature name

This commit is contained in:
Nikolay Krasko
2012-10-08 13:37:14 +04:00
parent c9984c3d06
commit 6ffd1aceaa
6 changed files with 45 additions and 1 deletions
@@ -0,0 +1,10 @@
package test;
import jet.runtime.typeinfo.KotlinSignature;
import java.lang.String;
public class WrongFieldName {
@KotlinSignature("val bar: String")
public String foo;
}
@@ -0,0 +1,7 @@
package test
import java.util.*
public open class WrongFieldName : Object() {
public val foo : String? = ""
}
@@ -0,0 +1,6 @@
namespace test
public open class test.WrongFieldName : java.lang.Object {
public final /*constructor*/ fun <init>(): test.WrongFieldName
public final val foo: jet.String?
}