[FIR][LightTree] More fixes in diagnostic positioning
Keep tree padding for modifiers More REFERENCE_EXPRESSIONS kinds Fix source for some call expressions
This commit is contained in:
committed by
TeamCityServer
parent
f3dc8dfb21
commit
0a68edf3bd
+3
-2
@@ -4,7 +4,8 @@ package h
|
||||
class Square() {
|
||||
var size : Double =
|
||||
<!UNRESOLVED_REFERENCE!>set<!>(<!UNRESOLVED_REFERENCE!>value<!>) {
|
||||
<!SYNTAX!>$area<!> <!SYNTAX!>= size * size<!>
|
||||
//in LT this LAMBDA_EXPRESSION get parsed lazyly, but doesn't got anywhere in FIR tree (as property doesn't have place for it)
|
||||
<!SYNTAX{PSI}!>$area<!> <!SYNTAX{PSI}!>= size * size<!>
|
||||
}
|
||||
|
||||
<!MUST_BE_INITIALIZED_OR_BE_ABSTRACT!>var area : Double<!>
|
||||
@@ -15,4 +16,4 @@ fun main() {
|
||||
val s = Square()
|
||||
|
||||
s.size = 2.0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user