Fix of accidentally added typo.

This commit is contained in:
Christoffer Lerno
2022-12-28 00:39:21 +01:00
parent f6e798c283
commit bcbcc3100f

View File

@@ -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: