mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Change @return! syntax to require ":" after faults. Update all contracts to consistently use ":" before the description.
This commit is contained in:
@@ -55,7 +55,7 @@ fn CsvRow! CsvReader.tread_row(self)
|
||||
}
|
||||
|
||||
<*
|
||||
@require self.allocator != null `Row already freed`
|
||||
@require self.allocator != null : `Row already freed`
|
||||
*>
|
||||
fn void CsvRow.free(&self)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user