Fixing mutator-cond
svn: r18305
This commit is contained in:
parent
a7b5d0d8f1
commit
a4dfbfb1d6
|
@ -60,7 +60,7 @@
|
|||
(syntax-rules (else)
|
||||
[(_) (mutator-begin)]
|
||||
[(_ [else e ...]) (mutator-begin e ...)]
|
||||
[(_ [q ans] e ...) (mutator-if q ans (cond e ...))]))
|
||||
[(_ [q ans] e ...) (mutator-if q ans (mutator-cond e ...))]))
|
||||
(define-syntax mutator-case
|
||||
(syntax-rules (else)
|
||||
[(_ value
|
||||
|
|
7
collects/tests/plai/gc/good-mutators/cond.ss
Normal file
7
collects/tests/plai/gc/good-mutators/cond.ss
Normal file
|
@ -0,0 +1,7 @@
|
|||
#lang plai/mutator
|
||||
(allocator-setup "../good-collectors/good-collector.ss" 40)
|
||||
|
||||
(cond
|
||||
[(zero? 3) 1111]
|
||||
[#f 2222]
|
||||
[#t 3333])
|
Loading…
Reference in New Issue
Block a user