arturo-lang / arturo

Simple, expressive & portable programming language for efficient scripting
http://arturo-lang.io
MIT License
675 stars 29 forks source link

`dictionary` (`#`) not working with files containing non-proper labels #1603

Open drkameleon opened 2 months ago

drkameleon commented 2 months ago

Describe the bug

if we do `#"somefile.art" and the file contains e.g.:

a: 2
b: 3

this will work (since we have proper labels that generate DStore operations).

Now, if the file was:

"a"   : 2
"b"   : 3

these would not be label (pay attention the spacing!), but would generate let instructions...