[FIR] Implement REDUNDANT_PROJECTION diagnostics, rename FirConflictingProjectionChecker -> FirProjectionRelationChecker, fix tests
This commit is contained in:
committed by
teamcityserver
parent
03e577bf98
commit
f081a6b4fa
Vendored
-20
@@ -1,20 +0,0 @@
|
||||
class In<in T>
|
||||
class Out<out T>
|
||||
class Inv<T>
|
||||
class X
|
||||
|
||||
fun f1(p: In<in X>) {}
|
||||
fun f2(p: In<<!CONFLICTING_PROJECTION!>out<!> X>) {}
|
||||
fun f3(p: In<X>) {}
|
||||
|
||||
fun f4(p: Out<out X>) {}
|
||||
fun f5(p: Out<<!CONFLICTING_PROJECTION!>in<!> X>) {}
|
||||
fun f6(p: Out<X>) {}
|
||||
|
||||
fun f6(p: Inv<X>) {}
|
||||
fun f7(p: Inv<in X>) {}
|
||||
fun f8(p: Inv<out X>) {}
|
||||
|
||||
fun f9(p: In<*>) {}
|
||||
fun f10(p: Out<*>) {}
|
||||
fun f11(p: Inv<*>) {}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
class In<in T>
|
||||
class Out<out T>
|
||||
class Inv<T>
|
||||
|
||||
Reference in New Issue
Block a user