Panic when using comments in the array initializer
Created by: xTibor
Reproduction:
let x = [
a
# b
# c
]
Actual behavior:
A panic with the following error message: thread 'main' panicked at 'ion: fatal error with syntax validation: unterminated array expression', src/parser/shell_expand/words/mod.rs:555:8
Backtrace
Build information:
rustc -V
: rustc 1.24.0-nightly (c8ddf2852 2017-12-07)
git rev-parse HEAD
: c6bdc75c
System: KDE neon 5.11 (Ubuntu 16.04 LTS)