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

2014-01-22 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11975


Sumit Adhikari sumit.adhik...@gmail.com changed:

   What|Removed |Added

 CC||sumit.adhik...@gmail.com


--- Comment #1 from Sumit Adhikari sumit.adhik...@gmail.com 2014-01-22 
22:05:54 PST ---
This is a blocker for current development. Please take a look at it as soon as
possible.

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


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

2014-01-22 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11975



--- Comment #2 from Kenji Hara k.hara...@gmail.com 2014-01-22 22:38:37 PST ---
(In reply to comment #0)
 Following code leads to segmentation fault:
 
 void main() 
 {
 
foo!double  Foo ;
Foo.zoo(1.0); 
 
 }

You're call instance method 'zoo' on null object reference.

void main()
{
foo!double Foo;
assert(Foo is null);  // !
Foo.zoo(1.0); // Segfault
}

To me the segfault looks intended result.

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


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

2014-01-22 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11975



--- Comment #3 from Sumit Adhikari sumit.adhik...@gmail.com 2014-01-22 
22:51:05 PST ---
Why is the compiler not able to tell me the problem and I need to go through a
segfault ?

Regards, Sumit

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