Analyze local variable declarations in expression position
Fixes exception on invalid code "val c = 1 < val Int.f: Int = 3"
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
val f = 1 >
|
||||
<error descr="[DECLARATION_IN_ILLEGAL_CONTEXT] Declarations are not allowed in this position">val g: Int = 3</error>
|
||||
Reference in New Issue
Block a user