From cebf335ea177b1734493cfb55edbc96187024855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Fri, 15 Jan 2016 15:24:17 +0100 Subject: [PATCH] Circumvent bug https://github.com/racket/typed-racket/issues/292 . --- graph/type-expander/type-expander.lp2.rkt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/graph/type-expander/type-expander.lp2.rkt b/graph/type-expander/type-expander.lp2.rkt index d92f7bd1..9b8a7847 100644 --- a/graph/type-expander/type-expander.lp2.rkt +++ b/graph/type-expander/type-expander.lp2.rkt @@ -1072,8 +1072,11 @@ And, last but not least, we will add a @tc[test] module. @chunk[ (module* test typed/racket + ;; (require (submod ".." main)) must be on its own (or at least in + ;; first position), see this bug: + ;; https://github.com/racket/typed-racket/issues/292 + (require (submod ".." main)) (require typed/rackunit - (submod ".." main) "../lib/low.rkt" (for-syntax (submod ".." expander) racket/list