www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15387] New: slice in extern(C++) ICE's


          Issue ID: 15387
           Summary: slice in extern(C++) ICE's
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

This shouldn't crash the compiler;

extern (C++) struct X
  this(int[] x) {}

A helpful error message would be nice.

Nov 29 2015