Fixes bug 173169: Mutator names on define-record-type are wrong
This commit is contained in:
@@ -1626,11 +1626,11 @@
|
||||
(define (gen-name x)
|
||||
(datum->syntax foo
|
||||
(string->symbol
|
||||
(string-append "set-"
|
||||
(string-append
|
||||
(symbol->string (syntax->datum foo))
|
||||
"-"
|
||||
(symbol->string (syntax->datum x))
|
||||
"!"))))
|
||||
"-set!"))))
|
||||
(let f ([fields fields])
|
||||
(syntax-match fields (mutable)
|
||||
[() '()]
|
||||
|
||||
Reference in New Issue
Block a user