[Issue 5123] Cannot assign null to a class with 'alias this'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 26 15:36:59 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5123
--- Comment #3 from bearophile_hugs at eml.cc 2010-10-26 15:36:13 PDT ---
(In reply to comment #2)
> This is expected. 'a' is an uninitialized, and attempt to assign to a Foo part
> of null instance causes access violation. This is no different from
>
> Bar a;
> a.foo_ = Foo();
Right, sorry for the noise.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list