[Issue 12931] Make const, immutable, inout, and shared illegal as function attributes on the left-hand side of a function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 3 09:28:53 UTC 2020


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

--- Comment #20 from Dlang Bot <dlang-bot at dlang.rocks> ---
@Geod24 created dlang/dmd pull request #10757 "Fix issue 12931: Make ambiguous
qualifiers illegal on the LHS of a function" fixing this issue:

- Fix issue 12931: Make ambiguous qualifiers illegal on the LHS of a function

  This has been a pain point for many D users for years,
  both new and old, as can be seen from the discussions on the issue.
  It is however a potentially disruptive deprecation.

  Note: The test for issue 5962 in test/runnable/xtest46.d has been
  removed as the issue was only present with prefix syntax.

https://github.com/dlang/dmd/pull/10757

--


More information about the Digitalmars-d-bugs mailing list