Fixed syntax error in @KotlinSignature.

This commit is contained in:
Evgeny Gerashchenko
2012-11-21 14:25:08 +04:00
parent 304926005f
commit 5b6828a7ce
@@ -12,8 +12,8 @@ public interface AddNullabilityJavaSubtype {
} }
public interface Sub extends Super { public interface Sub extends Super {
@ExpectLoadError("Alternative signature has 2 syntax errors, first is at 10: Expecting '(") @ExpectLoadError("Auto type 'jet.String' is not-null, while type in alternative signature is nullable: 'String?'")
@KotlinSignature("fun String? foo()") @KotlinSignature("fun foo(): String?")
String foo(); String foo();
} }
} }