Fix top-level use of classes
This commit is contained in:
parent
dc35a8cd4d
commit
2ae1f5a602
|
@ -159,6 +159,12 @@
|
||||||
(parameterize ([current-orig-stx form])
|
(parameterize ([current-orig-stx form])
|
||||||
(syntax-parse form
|
(syntax-parse form
|
||||||
#:literal-sets (kernel-literals)
|
#:literal-sets (kernel-literals)
|
||||||
|
;; need to special case this
|
||||||
|
;; FIXME: is there a better way?
|
||||||
|
[stx
|
||||||
|
#:when (syntax-property form 'tr:class)
|
||||||
|
(tc-expr #'stx)]
|
||||||
|
|
||||||
;; these forms we have been instructed to ignore
|
;; these forms we have been instructed to ignore
|
||||||
[stx:ignore^
|
[stx:ignore^
|
||||||
(void)]
|
(void)]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user