[Issue 24346] Lambda as UDA is valid but spec requires brackets
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 20 01:34:51 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24346
hsteoh at qfbox.info changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hsteoh at qfbox.info
--- Comment #1 from hsteoh at qfbox.info ---
I'm inclined to say that parentheses should be required, for consistency with
the single-token requirement on unparenthesized UDAs. (Cf also binary `!`
syntax, where the unparenthesized version also requires exactly 1 token, and in
all other cases parentheses are required.)
--
More information about the Digitalmars-d-bugs
mailing list