[Issue 13970] New: Simple flow analysis should eliminate null uses statically
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jan 12 08:24:10 PST 2015
https://issues.dlang.org/show_bug.cgi?id=13970
Issue ID: 13970
Summary: Simple flow analysis should eliminate null uses
statically
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: andrei at erdani.com
See the first snippet in
http://maikklein.github.io/2015/01/11/Evaluating-D-for-games/.
We should do the same amount of flow analysis we do in class constructors
(regarding the call to super()) to emit a compile-time error for using null
references.
--
More information about the Digitalmars-d-bugs
mailing list