Remove one-armed if
handling.
This is no longer possible since #%kernel `if` requires two arms.
This commit is contained in:
parent
05dcb2847c
commit
dc79012a5c
|
@ -520,14 +520,6 @@
|
||||||
(rebuild disarmed-expr (list (cons #'tst w-tst)
|
(rebuild disarmed-expr (list (cons #'tst w-tst)
|
||||||
(cons #'thn w-thn)
|
(cons #'thn w-thn)
|
||||||
(cons #'els w-els))))))]
|
(cons #'els w-els))))))]
|
||||||
[(if tst thn)
|
|
||||||
(let ([w-tst (annotate (syntax tst) phase)]
|
|
||||||
[w-thn (annotate (syntax thn) phase)])
|
|
||||||
(with-mrk* expr
|
|
||||||
(rearm
|
|
||||||
expr
|
|
||||||
(rebuild disarmed-expr (list (cons #'tst w-tst)
|
|
||||||
(cons #'thn w-thn))))))]
|
|
||||||
[(with-continuation-mark . body)
|
[(with-continuation-mark . body)
|
||||||
(with-mrk* expr
|
(with-mrk* expr
|
||||||
(rearm
|
(rearm
|
||||||
|
|
Loading…
Reference in New Issue
Block a user