[Issue 24565] out contract variable is implicitly const

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 25 11:00:12 UTC 2024


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel created dlang/dlang.org pull request #3836 "[spec/function] Improve
contract docs" fixing this issue:

- [spec/function] Improve contract docs

  Move in/out grammar to respective subheadings.
  Use list for contract expression arguments.
  Fix grammar for invalid state sentences.
  Fix wording of postcondition best practice.
  Mention postcondition identifier is implicitly const.
  Add anchor for example subheading.

  Fix Bugzilla 24565 - out contract variable is implicitly const

https://github.com/dlang/dlang.org/pull/3836

--


More information about the Digitalmars-d-bugs mailing list