Got rid of code depending on Unit aliasing.
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeName1 {
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: jet.Tuple0, actual: jet.String")
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: Unit, actual: jet.String")
|
||||
@KotlinSignature("fun foo(a : String) : Unit")
|
||||
public String foo(String a) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
Reference in New Issue
Block a user