catch without block/scope brackets

mwarning mw at nospam.xy
Tue Sep 4 11:58:26 PDT 2007


Jakob Wrote:
> But i also tried
> 
> catch()
> 	foo();
> 
> and it errored, even though this wouldn't be ambigous
> 
I guess it was a decision to not allow catch without curly brackets at all
to avoid a potential ambiguity.



More information about the Digitalmars-d mailing list