[Issue 24241] Uncaught Default argument error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 13 15:55:08 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=24241

--- Comment #10 from ponce <aliloko at gmail.com> ---
It's surprising to me because it seems nothing hints at this rule changing (not
even in spec).

The new rules are cool and all, and it's easy to see named arguments will
hugely improve readability. 

It's just that if you're not aware of them changing because following D from
even a tiny distance, you can miss the changes completely. Are there other
changes like this? How can I get up to speed?

Under the release changelog, I'm struggling to find a point where this has
changed ("if you write code in the new way, then it's breaking old compilers")
can be seen.

--


More information about the Digitalmars-d-bugs mailing list