Summary: Error without line number accessing member of
                    nonexistant struct member
           Product: D
           Version: 1.057
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic, patch
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Don <> 2010-04-20 00:55:58 PDT ---
struct Bug4106(int Q){}

int bug4106 =  Bug4106.nonexistent.garbage;

crash.d(242): Error: no property 'nonexistent' for type 'void'
Error: no property 'garbage' for type 'int'

It's a useless, parasitic error anyway. 

PATCH: expression.c 5877


+    if (e1->op == TOKerror)
+        return e1;

    if (e1->op == TOKdotexp)

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

Reply via email to