[FIR] Fix missing receiver type if anonymous function without label
This commit is contained in:
compiler/testData/diagnostics/testsWithStdLib/contracts/dsl/errors/nonLambdaLiteralAsArgument.fir.kt
Vendored
+1
-1
@@ -10,6 +10,6 @@ fun passLambdaValue(l: ContractBuilder.() -> Unit) {
|
||||
|
||||
fun passAnonymousFunction(x: Boolean) {
|
||||
contract(fun ContractBuilder.() {
|
||||
<!UNRESOLVED_REFERENCE!>returns<!>() <!UNRESOLVED_REFERENCE!>implies<!> x
|
||||
returns() implies x
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user