www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2233] New: ICE when dot-referencing a name declared in multiple modules

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

           Summary: ICE when dot-referencing a name declared in multiple
                    modules
           Product: D
           Version: 2.017
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: samukha voliacable.com


----
module a;

void foo() {}


----
module b;

void foo() {}


----
module c;

import a, b;

void bar()
{
   .foo();
}


----
Assertion failure: '0' on line 5222 in file 'expression.c'


-- 
Jul 17 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2233


Don <clugdbug yahoo.com.au> changed:

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




--- Comment #1 from Don <clugdbug yahoo.com.au>  2009-08-06 23:58:29 PDT ---
This works in DMD2.031 and 1.046 Windows.

c.d(5): Error: a.foo at a.d(2) conflicts with b.foo at b.d(2)

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