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: -------

Reply via email to