[Issue 12266] New: Regression (2.065): Header generation produces uncompilable header
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 26 05:11:52 PST 2014
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: nobody at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list