diff --git a/compiler/testData/checkerWithErrorTypes/quick/FunctionCalleeExpressions.jet b/compiler/testData/checkerWithErrorTypes/quick/FunctionCalleeExpressions.jet index 271e8533305..15acd8ec22c 100644 --- a/compiler/testData/checkerWithErrorTypes/quick/FunctionCalleeExpressions.jet +++ b/compiler/testData/checkerWithErrorTypes/quick/FunctionCalleeExpressions.jet @@ -70,3 +70,13 @@ fun main1(args : Array) { 1.if (true) {} } +fun test() { + {(x : Int) => 1}() + {Int.() => 1}() + "sd".{Int.() => 1}() + val i : Int? = null + i.{Int.() => 1}() + {}() + 1?.{Int.() => 1}() + 1.{}() +} \ No newline at end of file