mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Use default value to prevent raising an error
This commit is contained in:
parent
0882b90204
commit
edf3c0e87f
1 changed files with 2 additions and 2 deletions
|
@ -738,8 +738,8 @@
|
|||
; Core forms:
|
||||
((ast:lambda? exp)
|
||||
(let* ((id (ast:lambda-id exp))
|
||||
(fnc (adb:get id)))
|
||||
(if (adbf:simple fnc)
|
||||
(fnc (adb:get/default id #f)))
|
||||
(if (and fnc (adbf:simple fnc))
|
||||
(opt:contract (caar (ast:lambda-body exp))) ;; Optimize-out the lambda
|
||||
(ast:%make-lambda
|
||||
(ast:lambda-id exp)
|
||||
|
|
Loading…
Add table
Reference in a new issue