[Issue 4160] New: Template function lookup should match non-template behavior for implicit conversion to shared params
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 5 14:30:08 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4160
Summary: Template function lookup should match non-template
behavior for implicit conversion to shared params
Product: D
Version: 2.040
Platform: x86
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: sean at invisibleduck.org
--- Comment #0 from Sean Kelly <sean at invisibleduck.org> 2010-05-05 14:30:07 PDT ---
void op(shared(int) x) {}
void opT(T)(shared(T) x) {}
void main()
{
int x;
op(x); // works
opT(x); // fails but should work
}
--
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