We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f7b2b1 commit 04e4f43Copy full SHA for 04e4f43
1 file changed
vlib/v/markused/walker.v
@@ -1442,6 +1442,10 @@ fn (mut w Walker) mark_resource_dependencies() {
1442
if w.features.auto_str || w.uses_dump {
1443
w.fn_by_name(ast.string_type_idx.str() + '.repeat')
1444
w.fn_by_name('tos3')
1445
+ builderptr_idx := int(w.table.find_type('strings.Builder').ref()).str()
1446
+ w.fn_by_name(builderptr_idx + '.write_string')
1447
+ w.fn_by_name(builderptr_idx + '.writeln')
1448
+ w.fn_by_name(builderptr_idx + '.indent')
1449
}
1450
if w.uses_index || w.pref.is_shared {
1451
w.fn_by_name(array_idx_str + '.slice')
0 commit comments