Print StructTop nicely.

Related to PR 12903.

original commit: 418a0c311b8b1e463f1c449f10c2b31f9b25a287
This commit is contained in:
Sam Tobin-Hochstadt 2012-07-13 17:10:34 -04:00
parent 57dea3aacd
commit 7b9857b656

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")]