Don't lookahead too far when looking for '.' between type and parameters and for comma in function literal parameters
This commit is contained in:
@@ -27,4 +27,8 @@ fun foo() {
|
||||
|
||||
{x, y -> 1}
|
||||
{[a] x, [b] y, [c] z -> 1}
|
||||
|
||||
{((a: Int = object { fun t() {} }) -> Int).(x: Int) : String -> "" }
|
||||
{ A.B<String>.(x: Int) -> }
|
||||
{((a: Boolean = true) -> Int).(x: Any) : Unit -> }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user