Const strings and bytes were not properly converted to compile time bools.

Contracts @require/@ensure are no longer treated as conditionals, but must be explicitly bool.
This commit is contained in:
Christoffer Lerno
2025-01-18 23:24:55 +01:00
parent 5a36f0bc16
commit c3f5806aa3
13 changed files with 29 additions and 27 deletions

View File

@@ -61,7 +61,7 @@ fn CsvRow! CsvReader.read_temp_row(self)
}
<*
@require self.allocator `Row already freed`
@require self.allocator != null `Row already freed`
*>
fn void CsvRow.free(&self)
{