Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Handling of comma at the end of the line in REPL #28506
If you enter an expression in REPL that terminates with a comma
However in Julia script after
This is inconsistent. The problem is apparent when you have a code and you copy paste it into REPL.
E.g. in the example above copy-pasting only the body of
I guess it is not intended as I would expect consistency between REPL?
To my understanding the reason is that in REPL
However, e.g. this
referenced this issue
Aug 10, 2018
Good news: this only seems to arise if
I don't think any source files are likely to end in a comma, so we can fix this without breaking anything. For example we even have: