Fix boolean/pattern confusion for term generation..
This commit is contained in:
parent
44e324db12
commit
56a313caa0
|
@ -56,7 +56,7 @@
|
|||
(call/ec (λ (fail)
|
||||
(hash-ref term-e rep-lvar
|
||||
(λ () (let ([t (recur pat)])
|
||||
(unless t (fail #f))
|
||||
(unless (not-failed? t) (fail (unif-fail)))
|
||||
(hash-set! term-e rep-lvar t)
|
||||
t)))))]
|
||||
[`(cstr (,nts ...) ,pat)
|
||||
|
|
Loading…
Reference in New Issue
Block a user