Files
kotlin/idea/testData/diagnosticMessage/extensionInClassReference.kt
Alexander Udalov adec89f74d Don't print descriptors' toString() in diagnostic messages
Use DescriptorRenderer.TEXT instead, it doesn't print the debug information
2014-04-17 19:51:29 +04:00

9 lines
166 B
Kotlin
Vendored

// !DIAGNOSTICS_NUMBER: 1
// !DIAGNOSTICS: EXTENSION_IN_CLASS_REFERENCE_NOT_ALLOWED
class extensionInClassReference {
fun Int.foo() {}
val bar = Int::foo
}