[Issue 4433] New: object.Error: Access Violation missing file and line number

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 6 15:09:53 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4433

           Summary: object.Error: Access Violation missing file and line
                    number
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: Jesse.K.Phillips+D at gmail.com
                CC: Jesse.K.Phillips+D at gmail.com


--- Comment #0 from Jesse Phillips <Jesse.K.Phillips+D at gmail.com> 2010-07-06 15:09:51 PDT ---
The error message when accessing a null reference of an object does not provide
file and line number.

   void main() {
      Foo foo;

      foo.run();
   }

   class Foo {
      void run() {}
   }

The code above compiles and when run says:

object.Error: Access Violation

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


More information about the Digitalmars-d-bugs mailing list