Files
c3c/test/test_suite/errors/error_else.c3t
Christoffer Lerno 25bccf4883 New faults and syntax (#2034)
- Remove `[?]` syntax.
- Change `int!` to `int?` syntax.
- New `fault` declarations.
- Enum associated values can reference the calling enum.
2025-03-10 00:11:35 +01:00

20 lines
153 B
Plaintext

module foo;
fault TEST;
module bar;
import foo;
fn int? abc()
{
return foo::TEST?;
}
module baz;
import foo;
fn int? abc()
{
return foo::TEST?;
}