- Create optional with ~ instead of ?. return io::EOF?; becomes return io::EOF~.

- Deprecated use of `?` to create optional.
This commit is contained in:
Christoffer Lerno
2026-01-20 16:10:28 +01:00
parent 5390ca6250
commit cdabe8fd9e
159 changed files with 710 additions and 707 deletions

View File

@@ -4,10 +4,10 @@ faultdef ABC;
fn void test()
{
int x = ABC? ?? 123;
int x = ABC~ ?? 123;
}
fn void test2()
{
int? y = ABC? ?? ABC?;
int? y = ABC~ ?? ABC~;
}