mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
New faults and syntax (#2034)
- Remove `[?]` syntax. - Change `int!` to `int?` syntax. - New `fault` declarations. - Enum associated values can reference the calling enum.
This commit is contained in:
committed by
GitHub
parent
fefce25081
commit
25bccf4883
@@ -578,7 +578,7 @@ type
|
||||
|
||||
optional_type
|
||||
: type
|
||||
| type '!'
|
||||
| type '?'
|
||||
;
|
||||
|
||||
local_decl_after_type
|
||||
|
||||
Reference in New Issue
Block a user