Resolve parenthesized element as expression
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// "Suppress 'UNNECESSARY_NOT_NULL_ASSERTION' for statement " "true"
|
||||
// ERROR: Assignments are not expressions, and only expressions are allowed in this context
|
||||
|
||||
fun foo() {
|
||||
var x = 0
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Suppress 'UNNECESSARY_NOT_NULL_ASSERTION' for statement " "true"
|
||||
// ERROR: Assignments are not expressions, and only expressions are allowed in this context
|
||||
|
||||
fun foo() {
|
||||
var x = 0
|
||||
|
||||
Reference in New Issue
Block a user