FE 1.0: use TYPE_VARIANCE_CONFLICT deprecation factory
This commit is contained in:
@@ -8,16 +8,16 @@ class Bar<K> {
|
||||
|
||||
abstract class Foo<in T> {
|
||||
abstract fun yuckyEventHandler(
|
||||
fn: Bar<<!TYPE_VARIANCE_CONFLICT!>T<!>>.Inner.() -> Unit
|
||||
fn: Bar<<!TYPE_VARIANCE_CONFLICT_ERROR!>T<!>>.Inner.() -> Unit
|
||||
): () -> Unit
|
||||
|
||||
abstract fun second(fn: Bar<<!TYPE_VARIANCE_CONFLICT!>T<!>>.Inner)
|
||||
abstract fun second(fn: Bar<<!TYPE_VARIANCE_CONFLICT_ERROR!>T<!>>.Inner)
|
||||
|
||||
abstract fun third(fn: Bar<<!TYPE_VARIANCE_CONFLICT!>T<!>>.Inner.SuperInner)
|
||||
abstract fun third(fn: Bar<<!TYPE_VARIANCE_CONFLICT_ERROR!>T<!>>.Inner.SuperInner)
|
||||
}
|
||||
|
||||
abstract class Baz<out T> {
|
||||
abstract fun yuckyEventHandler(
|
||||
fn: Bar<<!TYPE_VARIANCE_CONFLICT!>T<!>>.Inner.() -> Unit
|
||||
fn: Bar<<!TYPE_VARIANCE_CONFLICT_ERROR!>T<!>>.Inner.() -> Unit
|
||||
): () -> Unit
|
||||
}
|
||||
|
||||
@@ -7,6 +7,6 @@ class Bar<K> {
|
||||
|
||||
abstract class Foo<in T> {
|
||||
abstract fun yuckyEventHandler(
|
||||
fn: Bar<<!TYPE_VARIANCE_CONFLICT!>T<!>>.Inner.() -> Unit
|
||||
fn: Bar<<!TYPE_VARIANCE_CONFLICT_ERROR!>T<!>>.Inner.() -> Unit
|
||||
): () -> Unit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user