www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12638] New: Void can be ref


          Issue ID: 12638
           Summary: Void can be ref
           Product: D
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: temtaime gmail.com

ref foo() {}


ref void foo() {}

Compiles ok, but shouldn't i think.

Apr 24 2014