https://d.puremagic.com/issues/show_bug.cgi?id=12266
Summary: Regression (2.065): Header generation produces
uncompilable header
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Andrej Mitrovic <[email protected]> 2014-02-26
05:11:51 PST ---
-----
auto clamp(T1, T2, T3)(T1 x, T2 min_val, T3 max_val)
{
return 0;
}
-----
DMD 2.064:
$ dmd -H -o- test.d
$ type test.di
> // D import file generated from 'test.d'
> module test;
> template clamp(T1, T2, T3)
> {
> auto clamp(T1 x, T2 min_val, T3 max_val)
> {
> return 0;
> }
>
> }
DMD 2.065:
$ dmd -H -o- test.d
$ type test.di
> module test;
> clamp(T1, T2, T3)(T1 x, T2 min_val, T3 max_val)
> {
> return 0;
> }
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------