Does D 2.110 support named parameters?
Brother Bill
brotherbill at mail.com
Sat Dec 6 11:37:07 UTC 2025
On Saturday, 6 December 2025 at 10:56:36 UTC, Dom Disc wrote:
> On Saturday, 6 December 2025 at 01:37:55 UTC, Richard (Rikki)
> Andrew Cattermole wrote:
>> It compiles with dmd 2.109.1 if other problems are solved.
>
> Unfortunately D-Scanner put out two "problems" for each use of
> named parameters :-(
>
> - Expected `)` instead of `:`
> - Primary expression expected
When using VS Code, the first "problem" is displayed.
But the code does compile and run.
Named parameters are sometimes quite helpful.
This overcomes the D-Scanner "false alarms".
More information about the Digitalmars-d-learn
mailing list