www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13184] New: better error messages for incorrect constructors

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 puremagic.com
          Reporter: turkeyman 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.

--
Jul 22 2014