Thread overview
[Issue 10339] New: DMD segfaults on __MODULE__ token
Jun 11, 2013
Martin Krejcirik
Jun 11, 2013
Andrej Mitrovic
[Issue 10339] ICE when __MODULE__ token
Jun 12, 2013
Andrej Mitrovic
[Issue 10339] ICE when __MODULE__ token is found but module declaration is missing
Jul 30, 2013
Kenji Hara
June 11, 2013
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: -------
June 11, 2013
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: -------
June 12, 2013
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: -------
July 30, 2013
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: -------