From 9993855ab57119e316fa3516cf72cb3dfd070c46 Mon Sep 17 00:00:00 2001 From: Suzanne Soy Date: Sun, 4 Apr 2021 05:21:17 +0100 Subject: [PATCH] Fix failing test in subtemplate --- test/test-8-0.rkt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/test-8-0.rkt diff --git a/test/test-8-0.rkt b/test/test-8-0.rkt new file mode 100644 index 0000000..7f04c31 --- /dev/null +++ b/test/test-8-0.rkt @@ -0,0 +1,9 @@ +#lang racket/base + +(require (only-in syntax/parse/experimental/template ?? template) + (only-in syntax/parse #;syntax-parse #;attribute) + (only-in "../parse.rkt" syntax-parse ~optional nat)) + +(syntax-parse #'(#:kw) + [({~optional z:nat} _) + (template (x (?? z) y))]) \ No newline at end of file