mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- Create optional with ~ instead of ?. return io::EOF?; becomes return io::EOF~.
- Deprecated use of `?` to create optional.
This commit is contained in:
@@ -16,7 +16,7 @@ faultdef ABC;
|
||||
macro test()
|
||||
{
|
||||
if (false) return;
|
||||
return ABC?;
|
||||
return ABC~;
|
||||
unreachable();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user