[Issue 1724] New: Internal error: toir.c 177

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 11 00:35:40 PST 2007


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

           Summary: Internal error: toir.c 177
           Product: D
           Version: 1.024
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: samukha at voliacable.com


struct Bar(alias baz)
{
  void qux()
  {
    baz();      
  }
}

void main()
{
  void foo()
  {             
  }             
  Bar!(foo) bar;
}

Fails with Internal error: toir.c 177. The error is caused by the call in the 
struct member function to the nested function through the alias template
parameter.


-- 



More information about the Digitalmars-d-bugs mailing list