attach orig-binding property (used for occurrence typing)

This commit is contained in:
AlexKnauth 2017-04-20 22:44:12 -07:00
parent 7acbcbb0cc
commit d90dbbfd57

View File

@ -948,7 +948,8 @@
(let*-syntax ([X (make-variable-like-transformer
(mk-tyvar (attach #'X ':: (#,kev #'#%type))))] ...
[x (make-variable-like-transformer
(attachs #'x '(sep ...) #'(τ ...)
(attachs (attach #'x 'orig-binding #'x)
'(sep ...) #'(τ ...)
#:ev #,tev))] ...)
(#%expression e) ... void)))))
(list #'tvs+ #'xs+