[Issue 1486] New: Can't implicitly convert char[][] to const(char)[][]
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 7 16:51:53 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1486
Summary: Can't implicitly convert char[][] to const(char)[][]
Product: D
Version: 2.004
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: reiner.pope at gmail.com
The following code fails to compile, with error "cannot implicitly convert
expression (a) of type char[][] to const(char)[][]". However, it appears to be
a valid operation.
void main() {
char[][] a;
string[] b = a;
}
--
More information about the Digitalmars-d-bugs
mailing list