Thread overview
[Issue 7906] New: [ICE] enum declaration with invalid array literal crashes dmd
Apr 14, 2012
Kenji Hara
Apr 14, 2012
Kenji Hara
Apr 23, 2012
Kenji Hara
Apr 23, 2012
Kenji Hara
April 14, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7906

           Summary: [ICE] enum declaration with invalid array literal
                    crashes dmd
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: k.hara.pg@gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2012-04-14 00:33:01 PDT ---
Following invalid code crashes dmd.

void main()
{
    enum s = [string.min];
}

output:
test.d(3): Error: no property 'min' for type 'string'
(crash)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 14, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7906


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-04-14 00:36:03 PDT ---
https://github.com/D-Programming-Language/dmd/pull/877

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 14, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7906



--- Comment #2 from github-bugzilla@puremagic.com 2012-04-14 01:31:56 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/a157cf83a6593206f421c29cf62b9aef475b3772 fix Issue 7906 - [ICE] enum declaration with invalid array literal crashes dmd

https://github.com/D-Programming-Language/dmd/commit/2b41879248b4c17e105b6c897baf8b8ebea0554f Merge pull request #877 from 9rnsr/fix7906

Issue 7906 - [ICE] enum declaration with invalid array literal crashes dmd

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 14, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7906



--- Comment #3 from github-bugzilla@puremagic.com 2012-04-14 12:03:49 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/c8b00cc2caaa4478d8154d29b18dcb5da26ee138 fix Issue 7906 test

https://github.com/D-Programming-Language/dmd/commit/08f18dbb687d92e45711dd9e298d086639758856 Merge pull request #878 from 9rnsr/fix7906

fix Issue 7906 test

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7906


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

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


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7906


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kekeniro2@yahoo.co.jp


--- Comment #5 from Kenji Hara <k.hara.pg@gmail.com> 2012-04-23 10:45:35 PDT ---
*** Issue 7792 has been marked as a duplicate of this issue. ***

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