www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13208] New: Internal Error e2ir.c 2077 with array subtraction

https://issues.dlang.org/show_bug.cgi?id=13208

          Issue ID: 13208
           Summary: Internal Error e2ir.c 2077 with array subtraction
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: Dlang nicholasparker.org

Internal Error e2ir.c 2077 is thrown if line 40 of the code here is included.

http://pastebin.com/RefD9hzg

Separating the array operations as seen here:

http://pastebin.com/aX6edUvg

eliminates the error.

#D on freenode tells me this error should never be thrown, so I thought I would
submit it.

--
Jul 26 2014