www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1724] New: Internal error: toir.c 177

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: samukha 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.


-- 
Dec 11 2007
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1724


bugzilla digitalmars.com changed:

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





Fixed dmd 1.026 and 2.010


-- 
Feb 16 2008