File tree 1 file changed +7
-2
lines changed
compatibility-lib/mzlib/private
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
(require (for-syntax racket/base
4
4
racket/contract/private/helpers
5
- racket/struct-info)
5
+ racket/struct-info
6
+ (rename-in syntax/private/boundmap
7
+ ;; the private version of the library
8
+ ;; (the one without contracts)
9
+ ;; has these old, wrong names in it.
10
+ [make-module-identifier-mapping make-free-identifier-mapping]))
6
11
racket/contract/private/guts
7
12
racket/contract/private/misc)
8
13
41
46
(rev-selector-id ... )
42
47
(mutator-id ... )
43
48
super-id)
44
- (extract-struct-info (lookup-struct-info (syntax struct-name) stx))])
49
+ (extract-struct-info (lookup-struct-info (syntax struct-name) (make-free-identifier-mapping) stx))])
45
50
(unless (= (length (syntax->list (syntax (rev-selector-id ... ))))
46
51
(length (syntax->list (syntax (args ... )))))
47
52
(raise-syntax-error 'struct/c
You can’t perform that action at this time.
0 commit comments