If one tries to execute s.th. like the following, a strange error occurs:
sVersion = #version();;sVersion = sVersion.at(1) + "." + sVersion.at(2) + "." + sVersion.sub(3)
If one adds a single whitespace on front of the ;;, the error disappears. Sequences like those are created by dragging multiple lines into the terminal.
Those are two problems. The first one is the duplicate ;;, which is resolved quite easily in the drag'n drop handler. The second problem is the error itself. The analysis yields that this is due to the # for string conversion. The handler for splitting the ; in multiple expressions obviously does not handle the # correctly and probably misinterprets that as beginning of a string literal.
Repeated the erroneous expression and checked the drag 'n drop handler in different scenarios. No deviation detected.
Anonymous
Diff:
Diff:
Diff:
Related
Commit: [r1201]
Diff: