Don't print descriptors' toString() in diagnostic messages
Use DescriptorRenderer.TEXT instead, it doesn't print the debug information
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// !DIAGNOSTICS_NUMBER: 1
|
||||
// !DIAGNOSTICS: UNUSED_VALUE
|
||||
|
||||
fun unusedValue(): Int {
|
||||
var x: Int
|
||||
x = 239
|
||||
return 42
|
||||
}
|
||||
Reference in New Issue
Block a user