[Issue 19038] New: Cannot compare const(T)[][] and T[][]
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jun 28 14:10:31 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19038
Issue ID: 19038
Summary: Cannot compare const(T)[][] and T[][]
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: default_357-line at yahoo.de
This code works:
[cast(const) "a"] == ["a"];
This code doesn't work.
[[cast(const) "a"]] == [["a"]];
--
More information about the Digitalmars-d-bugs
mailing list