Minor: Fix deprecation notice in KotlinIndicesHelperExtension

This commit is contained in:
Yan Zhulanow
2020-01-20 17:38:26 +09:00
parent 520f9a6da5
commit 9782f6808d
@@ -38,7 +38,11 @@ interface KotlinIndicesHelperExtension {
appendExtensionCallables(consumer, moduleDescriptor, receiverTypes, nameFilter) appendExtensionCallables(consumer, moduleDescriptor, receiverTypes, nameFilter)
} }
@Deprecated("Use the appendExtensionCallables() with the 'file' parameter instead.") @Deprecated(
"Override the appendExtensionCallables() with the 'lookupLocation' parameter instead. " +
"This method can then throw an exception. " +
"See 'DebuggerFieldKotlinIndicesHelperExtension' as an example."
)
fun appendExtensionCallables( fun appendExtensionCallables(
consumer: MutableList<in CallableDescriptor>, consumer: MutableList<in CallableDescriptor>,
moduleDescriptor: ModuleDescriptor, moduleDescriptor: ModuleDescriptor,