digitalmars.D.bugs - [Issue 12225] New: Alias and value template overloading with function argument
- d-bugmail puremagic.com (24/24) Feb 22 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12225
https://d.puremagic.com/issues/show_bug.cgi?id=12225 Summary: Alias and value template overloading with function argument Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: peter.alexander.au gmail.com 10:50:53 PST --- void foo(int a)() {} void foo(alias a)() {} int bar(int x) { return 1; } void main() { foo!bar(); } dmd 2.065.0 rc1 gives: bug.d(1): Error: bar (int x) is not callable using argument types () Expected: the call should match the foo(alias a) overload. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 22 2014