September 08, 2018 [Issue 19234] New: betterC TypeInfo error when using slice copy on Structs | ||||
---|---|---|---|---|
| ||||
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 } -- |
Copyright © 1999-2021 by the D Language Foundation