mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix in nested block handling. @maydiscard and @nodiscard annotations. If the common type of int[x] and int[y] is int[]
This commit is contained in:
committed by
Christoffer Lerno
parent
4beb7eff8f
commit
6cf3c9f46b
@@ -196,7 +196,7 @@ fn void String.destroy(String* str)
|
||||
if (!*str) return;
|
||||
StringData* data = str.data();
|
||||
if (!data) return;
|
||||
data.allocator.free(data);
|
||||
data.allocator.free(data)!!;
|
||||
*str = (String)null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user