Fix use of tc-literal

original commit: df3c56fae2fc21638d3b249354af4cc77645db13
This commit is contained in:
Asumu Takikawa 2014-09-07 15:44:19 -04:00
parent 6c7b6717b0
commit 2cab9e9d71

View File

@ -296,7 +296,7 @@
[_ (-Syntax (find-stx-type stx-e))])]
[(or (? symbol?) (? null?) (? number?) (? extflonum?) (? boolean?) (? string?) (? char?)
(? bytes?) (? regexp?) (? byte-regexp?) (? keyword?))
(tc-literal datum-stx expected)]
(tc-literal #`#,datum-stx expected)]
[(cons car cdr)
(match (and expected (resolve (restrict expected (-pair Univ Univ) 'orig)))
[(Pair: car-t cdr-t) (-pair (find-stx-type car car-t) (find-stx-type cdr cdr-t))]