Escaping $ doesn't seem to work
- Dominant language
- Go
- Stars
- 5.8k
- Forks
- 657
- Avg merge
- 20h 36m
- Merged PRs (30d)
- 6
Description
Hello!
I'm using:
`hil.ParseWithPosition`
If I pass it:
`\${hello}`
I get:
`
Literal(TypeString, \)Variable(hello)
`
Instead of:
`
Literal(TypeString, \${hello})
`
Is escaping of $ (dollar sign) supposed to work, or is this a bug or am I doing something wrong?
Any hint on how to fix this bug or add this feature, even if I maintain the patch out of tree would be helpful! (Getting some orientation around the code base would help!)
Thank you!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported input `\${hello}` through `hil.ParseWithPosition` and trace how the result is produced. Identify the parser entry point and related tests for interpolation or escaping; done means the input is treated as the reported literal and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100