[FIR] Prohibit statement-like expressions in expression context
^KT-61067 Fixed
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun test() {
|
||||
(d@ val bar = 2)
|
||||
(d@ <!EXPRESSION_EXPECTED!>val bar = 2<!>)
|
||||
}
|
||||
Reference in New Issue
Block a user