mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: check that array slicing indexes are valid (#5892)
This commit is contained in:
@ -438,7 +438,7 @@ pub struct IndexExpr {
|
||||
pub:
|
||||
pos token.Position
|
||||
left Expr
|
||||
index Expr // [0], [start..end] etc
|
||||
index Expr // [0] or RangeExpr [start..end]
|
||||
pub mut:
|
||||
left_type table.Type // array, map, fixed array
|
||||
is_setter bool
|
||||
|
Reference in New Issue
Block a user