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


Iain Buclaw <ibuc...@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuc...@ubuntu.com


--- Comment #5 from Iain Buclaw <ibuc...@ubuntu.com> 2014-01-23 00:10:24 PST ---
(In reply to comment #0)
> Following code leads to segmentation fault:
> 
> 
> abstract class foo_base(T) 

It looks like your treating a class as if it is equivalent to C++?

An error on null dereference is a bit of a problem as it could potential be
more breaking than good.  Not to mention all the cases that we can't catch.

---
shared MyClass foo;

/* 'foo' gets initialised by another thread in the meantime...
   Or at least so we expect.  :)
 */

foo.bar();  // BOOM!

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

Reply via email to