From 4129e3dba2cc3953af6b97fc1c99a1516b9214cd Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Wed, 15 Jan 2025 18:08:44 +0100 Subject: Update code to compile with new Hare version append may now return an error so asserts were added --- format/tsv/reader.ha | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'format/tsv/reader.ha') diff --git a/format/tsv/reader.ha b/format/tsv/reader.ha index 326e24b..4422b9f 100644 --- a/format/tsv/reader.ha +++ b/format/tsv/reader.ha @@ -13,7 +13,7 @@ export fn readrecords(r: io::handle) ([][]str | io::error | utf8::invalid) = { let records: [][]str = []; for (const line: str => bufio::scan_line(&sc)?) { - append(records, strings::dupall(strings::split(line, "\t"))); + append(records, strings::dupall(strings::split(line, "\t")))!; }; return records; }; -- cgit v1.2.3