mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
Move test-related code to org.jetbrains.kotlin.test, also move some tests to packages with better names
16 lines
518 B
Java
Vendored
16 lines
518 B
Java
Vendored
package test;
|
|
|
|
import java.lang.Number;
|
|
import java.util.*;
|
|
|
|
import jet.runtime.typeinfo.KotlinSignature;
|
|
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
|
|
|
public class WrongProjectionKind {
|
|
//@ExpectLoadError("Projection kind mismatch, actual: out, in alternative signature: ")
|
|
@KotlinSignature("fun copy(a : Array<out Number>, b : Array<Number>) : MutableList<Number>")
|
|
public List<Number> copy(Number[] from, Number[] to) {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
}
|