1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix prod build

This commit is contained in:
Alexander Medvednikov 2020-02-10 23:47:42 +01:00
parent 747f6829ab
commit a21e3d77e9

View File

@ -649,7 +649,6 @@ fn (p mut Parser) prefix_expr() (ast.Expr,table.Type) {
fn (p mut Parser) index_expr(left ast.Expr) ast.IndexExpr {
// left == `a` in `a[0]`
p.next() // [
mut index_expr := ast.Expr{}
if p.tok.kind == .dotdot {
// [..end]
p.next()