From 4e99f8cf59db0070c1786a798301c430e25503d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Fri, 17 Jun 2016 18:27:19 +0200 Subject: [PATCH] Improved explanations in test. --- test/test.hl.rkt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/test/test.hl.rkt b/test/test.hl.rkt index 9bc2d2e5..f13325f6 100644 --- a/test/test.hl.rkt +++ b/test/test.hl.rkt @@ -53,8 +53,17 @@ Test with multiple subforms inside require, and coverage for racket/syntax) racket/bool)] +Wrap the @racket[(require (for-syntax racket/base))] in a +@racket[(begin …)] so that it gets ignored, otherwise +scribble complains some identifiers are loaded twice +for-label, since some identifiers have already been introduced +at meta-level 0 by @racketmodname[typed/racket]. + +@chunk[ + (begin (require (for-syntax racket/base)))] + @chunk[<*> - (begin (require (for-syntax racket/base))) + (require typed/rackunit)