[Issue 3467] Non-int integral template parameters not correctly propagated
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 25 16:30:37 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3467
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc 2010-09-25 16:29:51 PDT ---
The bug is present in dmd 2.049 still:
struct Vec(size_t N) {
void opBinary(string op:"~", size_t M)(Vec!M) {}
}
void main() {
Vec!2 a1;
Vec!3 a2;
a1 ~ a2; // line 7, 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