Function literal expression outside the parentheses wrapped into JetFunctionLiteralArgument
Extracted JetFunctionLiteralArgument.moveInsideParenthesesAndReplaceWith util function
This commit is contained in:
@@ -55,7 +55,7 @@ fun main1() {
|
||||
1.{Int.() -> 1}();
|
||||
{1}();
|
||||
{(x : Int) -> x}(1)
|
||||
1.{Int.(x : Int) -> x}(1)
|
||||
1.{Int.(x : Int) -> x}(1);
|
||||
@l{1}()
|
||||
1.({Int.() -> 1})()
|
||||
1.(f())()
|
||||
|
||||
Reference in New Issue
Block a user