mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
Delete an unnecessary comment
This commit is contained in:
parent
b596d5447d
commit
7109e5f3fd
1 changed files with 0 additions and 2 deletions
|
|
@ -1406,8 +1406,6 @@ fn checkLambdaWithAnno(
|
|||
}
|
||||
|
||||
// STEP 2: Check the lambda body with expected return type
|
||||
// This is the key improvement - we pass the expected return type down
|
||||
// so that numeric literals and nested expressions get properly constrained
|
||||
const is_effectful = if (expected_return_type) |expected_ret|
|
||||
try self.checkExprWithExpected(lambda.body, expected_ret)
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue