racket / rhombus

Rhombus programming language
Other
350 stars 62 forks source link

Some use of `Group` leads to “syntax class incompatible with this context” #461

Closed usaoc closed 4 months ago

usaoc commented 10 months ago

Example:

#lang rhombus
match ': one two three'
| ': $(g && 'one two $(tail :: Group)')':
    tail

The use of a group pattern at the right should lead to the whole match as a group match.