RAW FIR: flatten if chains
This commit is contained in:
Vendored
+10
-15
@@ -73,22 +73,17 @@ FILE: implicitReceivers.kt
|
||||
this@R|/test_4|.<Unresolved name: bar>#()
|
||||
<Unresolved name: bar>#()
|
||||
}
|
||||
(this@R|/test_4| !is R|B|) -> {
|
||||
this@R|/test_4|.<Unresolved name: bar>#()
|
||||
<Unresolved name: bar>#()
|
||||
this@R|/test_4|.R|/A.foo|()
|
||||
this@R|/test_4|.R|/A.foo|()
|
||||
}
|
||||
else -> {
|
||||
when () {
|
||||
(this@R|/test_4| !is R|B|) -> {
|
||||
this@R|/test_4|.<Unresolved name: bar>#()
|
||||
<Unresolved name: bar>#()
|
||||
this@R|/test_4|.R|/A.foo|()
|
||||
this@R|/test_4|.R|/A.foo|()
|
||||
}
|
||||
else -> {
|
||||
this@R|/test_4|.R|/A.foo|()
|
||||
this@R|/test_4|.R|/A.foo|()
|
||||
this@R|/test_4|.R|/B.bar|()
|
||||
this@R|/test_4|.R|/B.bar|()
|
||||
}
|
||||
}
|
||||
|
||||
this@R|/test_4|.R|/A.foo|()
|
||||
this@R|/test_4|.R|/A.foo|()
|
||||
this@R|/test_4|.R|/B.bar|()
|
||||
this@R|/test_4|.R|/B.bar|()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user