mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Remove if (catch foo) { case ... } syntax.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
fn void main()
|
||||
{
|
||||
int! x;
|
||||
if (catch err = x)
|
||||
{
|
||||
default: // #warning: 'if-catch'
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
Reference in New Issue
Block a user