[Issue 6107] ICE(expression.c) when a non-template member named '__ctor' exists in a struct, and the constructor is attempted to be invoked.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 10 07:14:03 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=6107


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-01-10 07:14:02 PST ---
(In reply to comment #1)
> Names beginning with a double underscore are reserved for the compiler's use.

Should we implement some kind of identifier checks in the front-end? We could
gather all double-underscore symbols the compiler uses and just compare them
when instantiating Identifier from user-code.

Unless the compiler also generates these symbols with random names, in such a
case we would have to ban all double-underscores identifiers in user-code
because they might potentially clash.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list