FIR: forbid top-level destructuring declarations #KT-50468 Fixed
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
FILE: topLevelDestruction.kt
|
||||
<ERROR TYPE REF: Destructuring declarations are only allowed for local variables/values>
|
||||
@@ -0,0 +1 @@
|
||||
val <!SYNTAX!>(x, y)<!> = Pair(1, 2)
|
||||
Reference in New Issue
Block a user