From ca0346bdae312ac0ea3d6d1c8105ca577c2e9846 Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Thu, 11 Feb 2016 16:24:38 +0300 Subject: [PATCH] Fix forgotten test data for 10648f44ac1ed305f5f3a1a92c74011a10a3b9d1 (KT-10212) --- .../testData/quickfix/autoImports/delegateExtensionBoth.test | 5 ++--- idea/testData/quickfix/autoImports/delegateExtensionGet.test | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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