[Issue 14520] New: [REG2.067.0] string/alias template overload
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Apr 28 22:05:10 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14520
Issue ID: 14520
Summary: [REG2.067.0] string/alias template overload
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: thecybershadow at gmail.com
/////////// test.d //////////
int f();
mixin template M(alias a) {}
mixin template M(string s) {}
mixin M!f;
/////////////////////////////
test.d(4): Error: f cannot be interpreted at compile time, because it has no
available source code
Introduced in https://github.com/D-Programming-Language/dmd/pull/4375
--
More information about the Digitalmars-d-bugs
mailing list