reorder hide & splice (fixes #8)
parent
98d60c3ead
commit
4f225cc740
@ -0,0 +1,4 @@
|
||||
#lang brag
|
||||
top : x | y
|
||||
/x : Ø | "x" @x
|
||||
@y : Ø | "y" y
|
@ -0,0 +1,9 @@
|
||||
#lang racket/base
|
||||
(require brag/examples/hide-and-splice
|
||||
brag/support
|
||||
rackunit)
|
||||
|
||||
;; check that an id with both a splice and hide is handled correctly
|
||||
|
||||
(check-equal? (parse-to-datum "xxx") '(top ("x" "x" "x")))
|
||||
(check-equal? (parse-to-datum "yyy") '(top "y" "y" "y"))
|
Loading…
Reference in New Issue