[Issue 16025] New: mixin myTemplate should throw an error

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat May 14 12:00:44 PDT 2016


          Issue ID: 16025
           Summary: mixin myTemplate should throw an error
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: greensunny12 at gmail.com


mixin myTemplate; // silently doesn't work

1) Throw an error for the silent case
2) allow mixin statements without parenthesis (preferred solution)


More information about the Digitalmars-d-bugs mailing list