www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12982] New: internal error when using array expression as an


          Issue ID: 12982
           Summary: internal error when using array expression as an
           Product: D
           Version: D2
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: peterj mech.uq.edu.au

Created attachment 1364
  --> https://issues.dlang.org/attachment.cgi?id=1364&action=edit
sample source file

The DMD 2.065 compiler fails with internal error when I try to pass the result
of an array expression as a function argument.  There is no problem when I
assign the result to an array and then pass a reference to that array.  See the
attached source file for the transcript.

Jun 24 2014