Fix augment type printing
original commit: e80c4d72fb3ef7ee86915d17d5c6d5e1837bc800
This commit is contained in:
parent
c07f80cc07
commit
97c6350e87
|
@ -356,8 +356,7 @@
|
|||
(match-define (list name type) name+type)
|
||||
`(,name ,(type->sexp type))))
|
||||
(define augments*
|
||||
(cond [(null? augments) '()]
|
||||
[object? augments]
|
||||
(cond [(or object? (null? augments)) '()]
|
||||
[else (list (cons 'augment augments))]))
|
||||
`(,(if object? 'Object 'Class)
|
||||
,@row-var* ,@inits* ,@fields* ,@methods* ,@augments*))
|
||||
|
|
Loading…
Reference in New Issue
Block a user