https://issues.dlang.org/show_bug.cgi?id=19323
Issue ID: 19323
Summary: Pure function nesting explanation; move to correct
spot in specs
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P1
Component: dlang.org
Assignee: [email protected]
Reporter: [email protected]
https://dlang.org/spec/function.html#inout-functions
Within 19.10 (Inout Functions), point 9 states:
Nested functions inside pure function are implicitly marked as pure.
<code example...>
This should be either under 19.5 (Pure Functions) or 19.18 (Nested Functions).
I suggest the latter.
--