Fixed syntax error in @KotlinSignature.
This commit is contained in:
+2
-2
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user