Pseudocode: Bind nondeterministic jump caused by local declaration to declaration iself instead of its parent element
#KT-6261 Fixed #KT-6416 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
fun test(): Int {
|
||||
<selection>val foo = 1
|
||||
fun bar() = 2
|
||||
|
||||
return when (foo) {
|
||||
1 -> 1
|
||||
else -> 2
|
||||
}</selection>
|
||||
}
|
||||
Reference in New Issue
Block a user