On Tuesday, 30 April 2024 at 13:15:45 UTC, Basile B. wrote: > see https://issues.dlang.org/show_bug.cgi?id=24525 There's now a fix for that. > The switchexp would have the same problem: the parser sees > "switch" then it branches on statement parsing. That's why the syntax should be designed to be easily distinguishable by the parser.