[Issue 12982] New: internal error when using array expression as an argument

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 24 06:43:23 PDT 2014


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

          Issue ID: 12982
           Summary: internal error when using array expression as an
                    argument
           Product: D
           Version: D2
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: peterj at 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.

--


More information about the Digitalmars-d-bugs mailing list