mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- Remove `[?]` syntax. - Change `int!` to `int?` syntax. - New `fault` declarations. - Enum associated values can reference the calling enum.
8 lines
230 B
Plaintext
8 lines
230 B
Plaintext
fn int[*] hello() // #error: Inferred array types can only be used in declarations with initializers
|
|
{
|
|
return int[3] { 1, 2, 3};
|
|
}
|
|
|
|
int[*] c; // #error: Inferred array types can only be used in declarations with initializers
|
|
|