www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10339] New: DMD segfaults on __MODULE__ token

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10339

           Summary: DMD segfaults on __MODULE__ token
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: mk krej.cz


--- Comment #0 from Martin Krejcirik <mk krej.cz> 2013-06-12 00:16:58 CEST ---
filename: modbug.d

//module modbug;
void main()
{
        auto name = __MODULE__;
}

Notice: module keyword must not be used

DMD32 D Compiler v2.064-devel-19a54f8

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 11 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10339


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

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


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-06-11
16:53:18 PDT ---
Also in 2.063, which introduced the feature.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 11 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10339


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
         AssignedTo|nobody puremagic.com        |andrej.mitrovich gmail.com
            Summary|DMD segfaults on __MODULE__ |ICE when __MODULE__ token
                   |token                       |


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-06-11
17:07:55 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2165

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 11 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10339


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #3 from Kenji Hara <k.hara.pg gmail.com> 2013-07-29 19:30:32 PDT ---
*** This issue has been marked as a duplicate of issue 10695 ***

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