atom-julia-client
atom-julia-client copied to clipboard
Multiline array assignments
The following code gives a syntax error, when hitting cmd+enter at the first line:
a = [ 1,
2
]
Try
a = [ 1,
2
]
instead -- Juno's block finding is indentation based.
Just adding some more context about the way this is parsed:
for now our block finding doesn't look at the code at all and only cares about the indentation which is simple and robust, but obviously fails in cases like this one
It's parsed by whitespace for now.