[FIR] Fix location for CONFLICTING_PROJECTION diagnostics, extend conflictingProjection.kt with test sample
This commit is contained in:
committed by
teamcityserver
parent
ce78457eaa
commit
b85846c0c0
Vendored
+2
-2
@@ -4,11 +4,11 @@ class Inv<T>
|
||||
class X
|
||||
|
||||
fun f1(p: In<in X>) {}
|
||||
fun f2(p: <!CONFLICTING_PROJECTION!>In<out X><!>) {}
|
||||
fun f2(p: In<<!CONFLICTING_PROJECTION!>out<!> X>) {}
|
||||
fun f3(p: In<X>) {}
|
||||
|
||||
fun f4(p: Out<out X>) {}
|
||||
fun f5(p: <!CONFLICTING_PROJECTION!>Out<in X><!>) {}
|
||||
fun f5(p: Out<<!CONFLICTING_PROJECTION!>in<!> X>) {}
|
||||
fun f6(p: Out<X>) {}
|
||||
|
||||
fun f6(p: Inv<X>) {}
|
||||
|
||||
Reference in New Issue
Block a user