[Issue 8628] New: IntegerExp::toInteger(): Assertion `0' failed
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri Sep  7 15:10:17 PDT 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=8628
           Summary: IntegerExp::toInteger(): Assertion `0' failed
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ellery-newcomer at utulsa.edu
--- Comment #0 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2012-09-07 15:11:01 PDT ---
dmd 2.060 x64  linux
code:
//a.d
import b;
void main() {
    d_type!double(null);
}
//b.d
T d_type(T) () {
    Dim!T.initArr;
}
template Dim(T) {
    int[] tuple2arr()() {
    }
    bool check() {
        if(dims) return false;
    }
    enum int[] dims = tuple2arr!()();
}
compile:
dmd b a
produces fireworks:
e = 0x220d6b0, ty = 35
_error_ 0x21845a0
dmd: expression.c:2073: virtual dinteger_t IntegerExp::toInteger(): Assertion
`0' failed.
Aborted (core dumped)
-- 
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