[Issue 11975] 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:38:42 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11975
--- Comment #2 from Kenji Hara <k.hara.pg at 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: -------
More information about the Digitalmars-d-bugs
mailing list