[Issue 2128] New: Template function argument binding is too restrictive wrt qualifiers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat May 24 10:10:40 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2128
Summary: Template function argument binding is too restrictive
wrt qualifiers
Product: D
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: andrei at metalanguage.com
This code won't compile:
void foo(Idx)(Idx a, Idx b) {}
void main(string[] args)
{
uint x;
invariant uint y;
foo(x, y);
}
I think it should.
--
More information about the Digitalmars-d-bugs
mailing list