[Issue 6871] New: expression.c:1432: virtual dinteger_t	IntegerExp::toInteger(): Assertion `0' failed
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Nov  1 04:16:39 PDT 2011
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=6871
           Summary: expression.c:1432: virtual dinteger_t
                    IntegerExp::toInteger(): Assertion `0' failed
           Product: D
           Version: D1
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: llucax at gmail.com
--- Comment #0 from Leandro Lucarella <llucax at gmail.com> 2011-11-01 04:15:25 PDT ---
This is in DMD 1.071:
$ cat t.d
void f() {
    for (int i = 0; i < x.length; i++) {
    }
}
$ dmd -c t.d
t.d(2): Error: undefined identifier x, did you mean function f?
_error_ 0x8edf468
dmd: expression.c:1432: virtual dinteger_t IntegerExp::toInteger(): Assertion
`0' failed.
Aborted
-- 
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