[Issue 13184] New: better error messages for incorrect constructors

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jul 22 05:06:01 PDT 2014


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

          Issue ID: 13184
           Summary: better error messages for incorrect constructors
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: turkeyman at gmail.com

I just spent ages stuffing around trying to find 'shared static this()'.

My first instinct was '__gshared this()', then '__gshared static this()'.
Both produce unhelpful error messages. It'd be nice if it suggested what I
actually wanted :)

There may be other permutations that don't make sense too, which should
probably get helpful error messages aswell.

--


More information about the Digitalmars-d-bugs mailing list