Support destructuring declarations in scratch files
#KT-25038 fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// REPL_MODE: true
|
||||
|
||||
val (foo, bar) = 1 to "2"
|
||||
foo // RESULT: res1: kotlin.Int = 1
|
||||
bar // RESULT: res2: kotlin.String = 2
|
||||
val (_, baz) = 3 to "4"
|
||||
baz // RESULT: res4: kotlin.String = 4
|
||||
Reference in New Issue
Block a user