[Issue 11975] New: DMD64 D Compiler v2.065-devel-3b37a57 crashes for simple inheritance

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 22 22:04:40 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11975

           Summary: DMD64 D Compiler v2.065-devel-3b37a57 crashes for
                    simple inheritance
           Product: D
           Version: unspecified
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: sumit.adhikari at gmail.com


--- Comment #0 from Sumit Adhikari <sumit.adhikari at gmail.com> 2014-01-22 22:04:36 PST ---
Following code leads to segmentation fault:


abstract class foo_base(T) 
{
   private T    bro ; 

   public void zoo(T bro_) {
      bro = bro_ ;
   }

}

class foo(T) : foo_base!(T) 
{

}

void main() 
{

   foo!double  Foo ;
   Foo.zoo(1.0); 

}

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


More information about the Digitalmars-d-bugs mailing list