Summary: Accessing non-static member of a null reference
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Andrej Mitrovic <> 2010-08-07 
17:02:48 PDT ---
This should not compile, DMD should detect that I'm trying to access a member
of a null reference (stated in TDPL):

class A 
    int x = 42;

unittest {
    A a;
    a.x = 5;

void main() 

Runtime error:
object.Error: Access Violation

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to