Control-Flow Analysis: Reuse pseudo-value information for unused expression analysis
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
// "Suppress 'UNUSED_EXPRESSION' for statement " "true"
|
||||
|
||||
fun foo() {
|
||||
val a = 1
|
||||
[suppress("UNUSED_EXPRESSION")]
|
||||
a
|
||||
}
|
||||
|
||||
val a = 1
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
// "Suppress 'UNUSED_EXPRESSION' for statement " "true"
|
||||
|
||||
fun foo() {
|
||||
val a = 1
|
||||
a
|
||||
}
|
||||
|
||||
val a = 1
|
||||
}
|
||||
Reference in New Issue
Block a user