Refactoring of CompileTimeConstant, introduce flag to represent a constant being referenced by a variable
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
fun test() {
|
||||
[ann]
|
||||
while (2 > 1) {}
|
||||
|
||||
[ann]
|
||||
<!UNREACHABLE_CODE!>do {} while (2 > 1)<!>
|
||||
|
||||
[ann]
|
||||
<!UNREACHABLE_CODE!>for (i in 1..2) {}<!>
|
||||
}
|
||||
|
||||
annotation class ann
|
||||
Reference in New Issue
Block a user