More specific type for quote-syntax (this hides an infinite loop)
svn: r12162
This commit is contained in:
parent
23a541177b
commit
b7df781999
|
@ -155,7 +155,7 @@
|
|||
[(quote #t) (ret (-val #t) (list (make-True-Effect)) (list (make-True-Effect)))]
|
||||
[(quote val) (ret (tc-literal #'val))]
|
||||
;; syntax
|
||||
[(quote-syntax datum) (ret Any-Syntax)]
|
||||
[(quote-syntax datum) (ret (-Syntax (tc-literal #'datum)))]
|
||||
;; mutation!
|
||||
[(set! id val)
|
||||
(match-let* ([(tc-result: id-t) (tc-expr #'id)]
|
||||
|
@ -241,7 +241,7 @@
|
|||
|
||||
[(quote val) (ret (tc-literal #'val))]
|
||||
;; syntax
|
||||
[(quote-syntax datum) (ret Any-Syntax)]
|
||||
[(quote-syntax datum) (ret (-Syntax (tc-literal #'datum)))]
|
||||
;; w-c-m
|
||||
[(with-continuation-mark e1 e2 e3)
|
||||
(begin (tc-expr/check #'e1 Univ)
|
||||
|
|
Loading…
Reference in New Issue
Block a user