hcl/t/do-01.err

4 lines
173 B
Plaintext
Raw Normal View History

## if `do` is not enclosed in `( )`, variable declaration is prohibited
2024-01-14 15:47:01 +00:00
do { | k | set k 10 };
do | k | {set k 10;}; ##ERROR: syntax error - variable declaration disallowed