Invalid command makes Ion panic
Created by: dariost
Reproduction: in Ion type 0<0
and press enter.
Expected behavior: A message about the invalid syntax.
Actual behavior:
dariost:/tmp# 0<0
thread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', /checkout/src/liballoc/vec.rs:1555:10
note: Run with 'RUST_BACKTRACE=1' for a backtrace.
Aborted (core dumped)
Build information:
ion-shell v1.0.4
rustc 1.20.0-nightly (f85579d4a 2017-07-12)
Linux 4.12.1-1-ARCH #1 SMP PREEMPT x86_64 GNU/Linux