mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-14 15:53:36 +00:00
Checking redundant/conflicting projection kind in alt signatures.
This commit is contained in:
@@ -5,8 +5,8 @@ import java.util.*;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
|
||||
public class MethodWithMappedClasses {
|
||||
@KotlinSignature("fun <T> copy(dest : MutableList<in T>, src : List<out T>)")
|
||||
public <T> void copy(List<? super T> dest, List<? extends T> src) {
|
||||
@KotlinSignature("fun <T> copy(dest : MutableList<in T>, src : List<T>)")
|
||||
public <T> void copy(List<? super T> dest, List<T> src) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user