mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v: fix build and failing tests on arm64 (#12840)
This commit is contained in:
@@ -287,7 +287,8 @@ pub fn (mut t Transformer) check_safe_array(mut node ast.IndexExpr) {
|
||||
name := node.left
|
||||
match index {
|
||||
ast.IntegerLiteral {
|
||||
node.is_direct = t.index.safe_access(name.str(), index.val.int())
|
||||
is_direct := t.index.safe_access(name.str(), index.val.int())
|
||||
node.is_direct = is_direct
|
||||
}
|
||||
ast.RangeExpr {
|
||||
if index.has_high {
|
||||
|
||||
Reference in New Issue
Block a user