Fix use of tc-literal
original commit: df3c56fae2fc21638d3b249354af4cc77645db13
This commit is contained in:
parent
6c7b6717b0
commit
2cab9e9d71
|
@ -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))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user