Print StructTop nicely.

Related to PR 12903.
This commit is contained in:
Sam Tobin-Hochstadt 2012-07-13 17:10:34 -04:00
parent 4cba6e010f
commit 418a0c311b

View File

@ -196,7 +196,7 @@
[(Name: stx) (fp "~a" (syntax-e stx))]
[(app has-name? (? values name))
(fp "~a" name)]
[(StructTop: st) (fp "(struct-top: ~a)" st)]
[(StructTop: (Struct: nm _ _ _ _ _ _ _)) (fp "(Struct ~a)" (syntax-e nm))]
[(BoxTop:) (fp "Box")]
[(ChannelTop:) (fp "Channel")]
[(ThreadCellTop:) (fp "ThreadCell")]