Have optimizer ignore contract definitions.
This bug was hidden by a bug in syntax/parse.
This commit is contained in:
parent
2d6fc20350
commit
80fba7f42d
|
@ -78,12 +78,14 @@
|
|||
#:typed-side #f
|
||||
#:kind kind
|
||||
(type->contract-fail typ prop))])
|
||||
(quasisyntax/loc
|
||||
stx
|
||||
(define-values (n)
|
||||
(recursive-contract
|
||||
cnt
|
||||
#,(contract-kind->keyword kind))))))]
|
||||
(ignore-property ; should be ignored by the optimizer
|
||||
(quasisyntax/loc
|
||||
stx
|
||||
(define-values (n)
|
||||
(recursive-contract
|
||||
cnt
|
||||
#,(contract-kind->keyword kind))))
|
||||
#t)))]
|
||||
[_ (int-err "should never happen - not a define-values: ~a"
|
||||
(syntax->datum stx))]))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user