I'm glad throw is now an expression
Basile B.
b2.temp at gmx.com
Tue May 17 14:41:24 UTC 2022
On Monday, 16 May 2022 at 15:18:11 UTC, deadalnix wrote:
> So, throw is now an exception. It is true that this is useful,
> for instance, it is now more convenient to throw from a lambda.
>
> This is in fact so convenient that it deserve to break compiler
> explorer, which do not support the feature.
>
> In fact, it is so convenient that it was worth breaking any
> code formater out there (breaking new I maintain one).
>
> In fact so much worth it that it doesn't matter it break syntax
> coloring in numerous text editor.
Proper syntax coloring is based on the lexems and shall not
break. I'd be curious to know which are the text editors that
cant colorize `throw` anymore.
More information about the Digitalmars-d
mailing list