digitalmars.D.bugs - [Issue 19234] New: betterC TypeInfo error when using slice copy on
- d-bugmail puremagic.com (27/27) Sep 07 2018 https://issues.dlang.org/show_bug.cgi?id=19234
https://issues.dlang.org/show_bug.cgi?id=19234 Issue ID: 19234 Summary: betterC TypeInfo error when using slice copy on Structs Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: patric.dexheimer gmail.com //flags: -betterC -boundscheck=off struct A{} extern(C): void main() { int* x; x[0 .. 0] = x[0 .. 0]; //OK A* a; a[0 .. 0] = a[0 .. 0]; //Error: TypeInfo cannot be used with -betterC } --
Sep 07 2018