Skip to content

Commit

Permalink
sema: fix anonymous function analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed May 2, 2024
1 parent fcc31d3 commit 91c8c7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions std/jule/sema/eval.jule
Original file line number Diff line number Diff line change
Expand Up @@ -2942,6 +2942,9 @@ impl Eval {
lookup: self.lookup,
}
let mut ins = tc.buildFn(decl)
if ins == nil {
ret nil
}
match type self.lookup {
| &scopeChecker:
let mut sc = (&scopeChecker)(self.lookup)
Expand Down

0 comments on commit 91c8c7b

Please sign in to comment.