racket / rhombus

Rhombus programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

usaoc opened this issue · comments

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.