[Issue 4595] [tdpl] Accessing non-static member of a null reference compiles

2019-12-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4595 RazvanN changed: What|Removed |Added Status|REOPENED|RESOLVED CC|

[Issue 4595] [tdpl] Accessing non-static member of a null reference compiles

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4595 Andrej Mitrovic changed: What|Removed |Added OS|Windows |All ---

[Issue 4595] [tdpl] Accessing non-static member of a null reference compiles

2014-01-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=4595 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 4595] [tdpl] Accessing non-static member of a null reference compiles

2013-09-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4595 --- Comment #14 from Kenji Hara k.hara...@gmail.com 2013-09-19 00:33:55 PDT --- (In reply to comment #13) After a few years of D use, I actually find the above will create problems. We often use traits like these to check whether something

[Issue 4595] [tdpl] Accessing non-static member of a null reference compiles

2013-09-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4595 --- Comment #15 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-19 03:52:35 PDT --- (In reply to comment #14) - `is(typeof(exp))` tests that the exp has valid type or not. For type calculation, the code flow analysis and its

[Issue 4595] [tdpl] Accessing non-static member of a null reference compiles

2013-09-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4595 --- Comment #13 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-17 12:54:33 PDT --- (In reply to comment #12) Failing unittest in TDPL: unittest { class A { int x; } A a; assert(!__traits(compiles, a.x = 5)); } Such

[Issue 4595] [tdpl] Accessing non-static member of a null reference compiles

2011-12-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4595 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added CC|