Report error about invalid if as expression on the if keyword
#KT-14633 Fixed
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
fun test1() {
|
||||
run {
|
||||
if (true) {
|
||||
<!INVALID_IF_AS_EXPRESSION!>if (true) {}<!>
|
||||
<!INVALID_IF_AS_EXPRESSION!>if<!> (true) {}
|
||||
}
|
||||
else {
|
||||
1
|
||||
|
||||
Reference in New Issue
Block a user