Files
kotlin-fork/idea/testData/diagnosticMessage/unusedValue.kt
T
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
125 B
Kotlin
Vendored

// !DIAGNOSTICS_NUMBER: 1
// !DIAGNOSTICS: UNUSED_VALUE
fun unusedValue(): Int {
var x: Int
x = 239
return 42
}