mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
markused: always include slice_ni & substr_ni too (support s#[] and a#[] in -skip-unused)
This commit is contained in:
parent
efdbe9d92c
commit
f8bf3db568
@ -63,6 +63,7 @@ pub fn mark_used(mut table ast.Table, pref &pref.Preferences, ast_files []&ast.F
|
||||
'20.clone_static',
|
||||
'20.trim',
|
||||
'20.substr',
|
||||
'20.substr_ni',
|
||||
'20.at',
|
||||
'20.at_with_check',
|
||||
'20.index_kmp',
|
||||
@ -88,6 +89,7 @@ pub fn mark_used(mut table ast.Table, pref &pref.Preferences, ast_files []&ast.F
|
||||
'22.reverse',
|
||||
'22.repeat_to_depth',
|
||||
'22.slice',
|
||||
'22.slice_ni',
|
||||
'22.slice2',
|
||||
'61.get',
|
||||
'61.set',
|
||||
|
Loading…
Reference in New Issue
Block a user