mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 04:25:06 +02:00
Fix for AST output for wrap-mutables
This commit is contained in:
parent
cc1bfea6f0
commit
9d606f9d43
1 changed files with 8 additions and 7 deletions
|
@ -734,13 +734,14 @@
|
||||||
body-exp
|
body-exp
|
||||||
;(list body-exp)
|
;(list body-exp)
|
||||||
(if (is-mutable? (car formals))
|
(if (is-mutable? (car formals))
|
||||||
(list ;(ast:%make-lambda
|
(list
|
||||||
; id
|
(list ;(ast:%make-lambda
|
||||||
(ast:make-lambda
|
; id
|
||||||
(list (car formals))
|
(ast:make-lambda
|
||||||
(wrap-mutable-formals id (cdr formals) body-exp has-cont)
|
(list (car formals))
|
||||||
has-cont)
|
(wrap-mutable-formals id (cdr formals) body-exp has-cont)
|
||||||
`(cell ,(car formals)))
|
has-cont)
|
||||||
|
`(cell ,(car formals))))
|
||||||
(wrap-mutable-formals id (cdr formals) body-exp has-cont))))
|
(wrap-mutable-formals id (cdr formals) body-exp has-cont))))
|
||||||
|
|
||||||
(cond
|
(cond
|
||||||
|
|
Loading…
Add table
Reference in a new issue