diff --git a/idea/testData/quickfix/autoImports/delegateExtensionBoth.test b/idea/testData/quickfix/autoImports/delegateExtensionBoth.test index cd4cabbd351..5e422d4e2f4 100644 --- a/idea/testData/quickfix/autoImports/delegateExtensionBoth.test +++ b/idea/testData/quickfix/autoImports/delegateExtensionBoth.test @@ -21,9 +21,8 @@ class DelegateImpl { val value: T = null!! } -public fun DelegateImpl.getValue(thisRef: Any?, property: KProperty<*>): T = value -public fun DelegateImpl.setValue(thisRef: Any, property: KProperty<*>, t: T) {} - +public operator fun DelegateImpl.getValue(thisRef: Any?, property: KProperty<*>): T = value +public operator fun DelegateImpl.setValue(thisRef: Any, property: KProperty<*>, t: T) {} // FILE: first.after.kt diff --git a/idea/testData/quickfix/autoImports/delegateExtensionGet.test b/idea/testData/quickfix/autoImports/delegateExtensionGet.test index 76c78eb46c6..3085c5522e7 100644 --- a/idea/testData/quickfix/autoImports/delegateExtensionGet.test +++ b/idea/testData/quickfix/autoImports/delegateExtensionGet.test @@ -21,7 +21,7 @@ class DelegateImpl { val value: T = null!! } -public fun DelegateImpl.getValue(thisRef: Any?, property: KProperty<*>): T = value +public operator fun DelegateImpl.getValue(thisRef: Any?, property: KProperty<*>): T = value