msv-lab / modus

A language for building Docker/OCI container images
GNU Affero General Public License v3.0
279 stars 9 forks source link

f"a$b" is parsed as just "a" #158

Closed maowtm closed 2 years ago

maowtm commented 2 years ago

https://play.modus-continens.com/#%7B%22q%22%3A%22a%22%2C%22m%22%3A%22a%20%3A-%20run(f%5C%22a%24b%5C%22).%22%7D

mechtaev commented 2 years ago

What is the expected behaviour here? As I understand, expansion should be only used when we have something like a${b}. Is it invalid syntax, or we just treat the question mark as non-special character?

maowtm commented 2 years ago

I was expecting it to just treat it as a literal a$b