Fix augment type printing

This commit is contained in:
Asumu Takikawa 2013-08-21 17:25:14 -04:00
parent 7d7f23589f
commit e80c4d72fb

View File

@ -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*))