[Issue 4329] Do not show error messages that refer to __error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 25 12:37:31 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4329
--- Comment #13 from bearophile_hugs at eml.cc 2010-09-25 12:36:46 PDT ---
struct Vec(int N) {
int[N] data;
}
void main() {
Vec!(1)([1, 2]);
}
DMD 2.049 prints:
test.d(5): Error: cannot implicitly convert expression ([1,2]) of type int[] to
int
test.d(5): Error: structliteral has no effect in expression (Vec((__error)))
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list