Have optimizer ignore contract definitions.
This bug was hidden by a bug in syntax/parse. original commit: 80fba7f42d98255b1ab8a8e1c48d62f17303bf11
This commit is contained in:
parent
df0d87c948
commit
08adb59b66
|
@ -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