mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix of accidentally added typo.
This commit is contained in:
@@ -5,7 +5,7 @@ fn void syntaxErrors()
|
||||
if (i + 1) {} // #error: optional, but was 'int!'
|
||||
for (int x = i;;) {} // #error: 'int!' to 'int'
|
||||
for (int x = 0; x < i + 1;) {} // #error: optional, but was 'bool!'.
|
||||
for (int x = 0; x < 10; x += i + 1) {} // #error: Cannot assign an an optional value to a non-optional
|
||||
for (int x = 0; x < 10; x += i + 1) {} // #error: Cannot assign an optional value to a non-optional
|
||||
switch (i + 1) // #error: optional, but was 'int!'
|
||||
{
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user