Files
mgmt/lang/interpret_test/TestAstFunc3/dollar1.txtar
James Shubin a0972c0752 lang, engine: Add a metaparam for catching accidental dollar signs
Let's make our life easier for users!
2024-08-22 20:41:48 -04:00

6 lines
182 B
Plaintext

-- main.mcl --
$foo = "/tmp/file1"
test "$foo" {} # catch simple typos! should be "${foo}"
-- OUTPUT --
# err: errValidate: test[$foo] did not Validate: the Res name starts with a $