Thread overview
[Issue 7782] New: [ICE] With wrong import syntax
Mar 28, 2012
Don
Mar 29, 2012
Walter Bright
March 25, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7782

           Summary: [ICE] With wrong import syntax
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: bearophile_hugs@eml.cc


--- Comment #0 from bearophile_hugs@eml.cc 2012-03-25 16:18:41 PDT ---
Wrong D2 code (it contains a simple typing mistake I have done, a dot instead
of a comma):


import std.algorithm, std.range. std.math;
void main() {
    iota(10);
}


DMD 2.059head crashes and shows:

Assertion failure: 'p->isPackage()' on line 1173 in file 'module.c'

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


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |clugdbug@yahoo.com.au
           Severity|normal                      |regression


--- Comment #1 from Don <clugdbug@yahoo.com.au> 2012-03-28 08:17:59 PDT ---
And it's a regression. My fault. https://github.com/D-Programming-Language/dmd/pull/844

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



--- Comment #2 from github-bugzilla@puremagic.com 2012-03-28 17:15:32 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/2054d82275396ddc78e72767cb3982b9fe89c23d Merge pull request #844 from donc/regression7782

Fix issue 7782 Regression: ICE with wrong import syntax

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


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


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