[Issue 7904] Template instantiation failure depending on compilation order
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Nov 24 04:18:39 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=7904
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2013-11-24 04:18:38 PST ---
This is invalid issue. in std_algorithm.d:
> dchar front(A)(A) { }
> uint startsWith()() { }
should be:
dchar front(A)(A) { return 'a'; }
uint startsWith()() { return 1; }
After the fix, the sample code compiles normally.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list