mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-10 00:21:27 +00:00
Move test-related code to org.jetbrains.kotlin.test, also move some tests to packages with better names
14 lines
595 B
Java
Vendored
14 lines
595 B
Java
Vendored
package test;
|
|
|
|
import java.util.*;
|
|
import jet.runtime.typeinfo.KotlinSignature;
|
|
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
|
|
|
public class WrongValueParameterStructure2 {
|
|
//@ExpectLoadError("'kotlin.Map.Entry<kotlin.String, kotlin.String>' type in method signature has 2 type arguments, while 'Map.Entry<String?>' in alternative signature has 1 of them")
|
|
@KotlinSignature("fun foo(a : String, b : List<Map.Entry<String?>?>) : String")
|
|
public String foo(String a, List<Map.Entry<String, String>> b) {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
}
|