Fixing problem found at Brown
This commit is contained in:
parent
f78e2af4e1
commit
24dbffaf3b
|
@ -110,7 +110,7 @@
|
||||||
[(_) (mutator-app void)]
|
[(_) (mutator-app void)]
|
||||||
[(_ e) e]
|
[(_ e) e]
|
||||||
[(_ fe e ...)
|
[(_ fe e ...)
|
||||||
(mutator-let ([tmp fe]) (mutator-begin e ...))]))
|
(let ([tmp fe]) (mutator-begin e ...))]))
|
||||||
|
|
||||||
; Real Macros
|
; Real Macros
|
||||||
(define-syntax-rule (mutator-define-values (id ...) e)
|
(define-syntax-rule (mutator-define-values (id ...) e)
|
||||||
|
|
15
collects/tests/plai/gc/good-mutators/thunks.rkt
Executable file
15
collects/tests/plai/gc/good-mutators/thunks.rkt
Executable file
|
@ -0,0 +1,15 @@
|
||||||
|
#lang plai/mutator
|
||||||
|
(allocator-setup "../good-collectors/good-collector.ss" 4)
|
||||||
|
|
||||||
|
; 2
|
||||||
|
(define thunker
|
||||||
|
(lambda ()
|
||||||
|
; 2
|
||||||
|
'alligator
|
||||||
|
; 2
|
||||||
|
'bananna
|
||||||
|
; 2
|
||||||
|
'frog))
|
||||||
|
; 4 total
|
||||||
|
|
||||||
|
(thunker)
|
Loading…
Reference in New Issue
Block a user