As solution, @safe code should insert tests for null reference, or should prevent null to be used.
Given a class, that would create a very large object if instantiated,
and a null reference, you can access memory in « raw mode ». This is
@safe D code, but really isn't.
- null allowing @safe code to do unsafe stuff. deadalnix
- Re: null allowing @safe code to do unsafe stuff. Timon Gehr
- Re: null allowing @safe code to do unsafe stu... deadalnix
- Re: null allowing @safe code to do unsafe... Timon Gehr
- Re: null allowing @safe code to do un... Andrei Alexandrescu
- Re: null allowing @safe code to ... deadalnix
- Re: null allowing @safe code... Michel Fortin
- Re: null allowing @safe ... deadalnix
- Re: null allowing @safe ... Andrei Alexandrescu
- Re: null allowing @safe code to ... Michel Fortin
- Re: null allowing @safe code to do unsafe... Andrei Alexandrescu