[Issue 10354] New: DIP37: ICE with using indirectly imported template through package.d

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 13 20:53:35 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10354

           Summary: DIP37: ICE with using indirectly imported template
                    through package.d
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: k.hara.pg at gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 2013-06-13 20:53:34 PDT ---
Sources:
-------
module test;  // test.d
import pkg.mfoo;
void main()
{
    import pkg;
    foo!string();
    bar!string();
}

module pkg;   // pkg/package.d
public import pkg.mfoo;
public import pkg.mbar;

module pkg.mfoo;    // pkg/mfoo.d
void foo(T)() {}

module pkg.mbar;    // pkg/mbar.d
void bar(T)() {}


Command Line:
-------
$ dmd -o- test.d

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


More information about the Digitalmars-d-bugs mailing list