www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13567] New: Attribute inference for private functions

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

          Issue ID: 13567
           Summary: Attribute inference for private functions
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: goxryz gmail.com

Previously attribute inference was considered for all auto functions, but there
was no consensus reached.

Using attribute inference for private functions avoids all previously raised
concerns except "slows down compilation".

Walter:
"Please file as an enhancement request.

The more attribute inference we can do, the better."

--
Oct 01 2014