December 12, 2022 [Issue 23551] New: Error messages for use of array literals in @nogc code should be improved` | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23551 Issue ID: 23551 Summary: Error messages for use of array literals in @nogc code should be improved` Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: maxhaton@gmail.com ``` enum x = [1,4]; @nogc void main() { // Easy case // int[] x = [1,2,3,4]; auto b = x[0..1]; } ``` -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply