mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Fixing #380 where const aggregates were copied by value.
This commit is contained in:
@@ -60,7 +60,7 @@ enum Seek
|
||||
END = 2
|
||||
}
|
||||
|
||||
errtype IoError
|
||||
optenum IoError
|
||||
{
|
||||
FILE_NOT_FOUND,
|
||||
FILE_NOT_SEEKABLE,
|
||||
|
||||
@@ -25,7 +25,7 @@ enum AllocationKind
|
||||
FREE,
|
||||
}
|
||||
|
||||
errtype AllocationFailure
|
||||
optenum AllocationFailure
|
||||
{
|
||||
OUT_OF_MEMORY
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user