[Issue 20691] New: Converting scope static array to scope dynamic array should be error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 21 08:08:49 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20691
Issue ID: 20691
Summary: Converting scope static array to scope dynamic array
should be error
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: bugzilla at digitalmars.com
void bar() @safe
{
scope char[][2] sa;
scope char[][] da = sa; // should give error
}
--
More information about the Digitalmars-d-bugs
mailing list