mirror of
https://github.com/vlang/v.git
synced 2025-09-09 23:39:39 -04:00
parent
5e69315fc2
commit
8a39132b6e
@ -4953,6 +4953,11 @@ fn (mut c Checker) index_expr(mut node ast.IndexExpr) ast.Type {
|
|||||||
typ_sym = unsafe { unwrapped_sym }
|
typ_sym = unsafe { unwrapped_sym }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.string {
|
||||||
|
if node.is_gated && c.mod != 'strings' {
|
||||||
|
c.table.used_features.range_index = true
|
||||||
|
}
|
||||||
|
}
|
||||||
else {}
|
else {}
|
||||||
}
|
}
|
||||||
if !c.is_builtin_mod && c.mod !in ['strings', 'math.bits'] {
|
if !c.is_builtin_mod && c.mod !in ['strings', 'math.bits'] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user