Hi,

The following code throws a "Undefined variable a1:" error:

        let a1 = 1 | let b = [1,2,3] | echo b[a1:-1]

When one puts a blank after a1, it's ok though:

        let a1 = 1 | let b = [1,2,3] | echo b[a1 : -1]

Since "a1" is no valid scope and "a1:" is an illegal variable name, IMHO
this code shouldn't be considered ambiguous.

Regards,
Thomas.




Reply via email to