[Issue 19323] New: Pure function nesting explanation; move to correct spot in specs
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Oct 21 12:30:29 UTC 2018
    
    
  
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: nobody at puremagic.com
          Reporter: araspik at protonmail.com
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.
--
    
    
More information about the Digitalmars-d-bugs
mailing list