Remove if (catch foo) { case ... } syntax.

This commit is contained in:
Christoffer Lerno
2025-03-07 22:48:28 +01:00
parent facaa75083
commit a088a5057a
17 changed files with 168 additions and 330 deletions

View File

@@ -1,10 +0,0 @@
fn void main()
{
int! x;
if (catch err = x)
{
default: // #warning: 'if-catch'
return;
}
return;
}