Enable struct construction when not transforming. Necessary for testing.

This commit is contained in:
Sam Tobin-Hochstadt 2010-09-09 14:06:09 -04:00
parent eea479b34a
commit 71ae5f0a6e

View File

@ -123,7 +123,9 @@
(make-fld t g setters?))]
[flds (append parent-fields this-flds)]
[sty (make-Struct name parent flds proc-ty poly? pred
(syntax-local-certifier) (or maker* maker))]
;; this check is so that the tests work
(if (syntax-transforming?) (syntax-local-certifier) values)
(or maker* maker))]
[external-fld-types/no-parent types]
[external-fld-types (map fld-t flds)])
(if type-only