String interpolation patterns should be able to take placeholders #111

Open
opened 2024-11-29 19:28:12 +00:00 by scott · 0 comments
Owner

Offending input:

let input = "hello ludus"

match input with {
  "hello {_}" -> "why hi there!"
}

Expected: works, nothing bound.

Actual:

Syntax error: bad interpolated string
  on line 4 in input:
  >>>   "hello {_}" -> "why hi there!"
........^
Offending input: ``` let input = "hello ludus" match input with { "hello {_}" -> "why hi there!" } ``` Expected: works, nothing bound. Actual: ``` Syntax error: bad interpolated string on line 4 in input: >>> "hello {_}" -> "why hi there!" ........^ ```
scott added the
bug
label 2024-11-29 19:28:17 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: twc/ludus#111
No description provided.