These lets aren't doing anything, so remove them.
svn: r12769 original commit: bc62c06e1cdd0abf4e3068dee7c1a28eb3886674
This commit is contained in:
commit
b4695eeac4
|
@ -454,8 +454,7 @@
|
|||
(define-for-syntax (make-import-unboxing int-var ext-var loc ctc name)
|
||||
(if ctc
|
||||
(quasisyntax/loc (error-syntax)
|
||||
(quote-syntax (let ([#,int-var (contract #,ctc (unbox #,loc) 'cant-happen '#,name (quote-syntax #,ext-var))])
|
||||
#,int-var)))
|
||||
(quote-syntax (contract #,ctc (unbox #,loc) 'cant-happen '#,name (quote-syntax #,ext-var))))
|
||||
(quasisyntax/loc (error-syntax)
|
||||
(quote-syntax (unbox #,loc)))))
|
||||
|
||||
|
@ -1245,10 +1244,9 @@
|
|||
(map
|
||||
(lambda (i iv c)
|
||||
(if c
|
||||
#`(let ([#,iv (contract #,c (unbox (vector-ref #,ov #,i))
|
||||
#`(contract #,c (unbox (vector-ref #,ov #,i))
|
||||
'cant-happen (#%variable-reference)
|
||||
(quote-syntax #,iv))])
|
||||
#,iv)
|
||||
(quote-syntax #,iv))
|
||||
#`(unbox (vector-ref #,ov #,i))))
|
||||
(iota (length (car os)))
|
||||
(map cdr (car os))
|
||||
|
|
Loading…
Reference in New Issue
Block a user