www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12266] New: Regression (2.065): Header generation produces uncompilable header

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: andrej.mitrovich gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich 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: -------
Feb 26 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12266


Vladimir Panteleev <thecybershadow gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow gmail.com


--- Comment #1 from Vladimir Panteleev <thecybershadow gmail.com> 2014-02-26
15:33:22 EET ---
Introduced in https://github.com/D-Programming-Language/dmd/pull/2649

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 26 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12266


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, wrong-code


--- Comment #2 from Kenji Hara <k.hara.pg gmail.com> 2014-03-05 07:39:38 PST ---
https://github.com/D-Programming-Language/dmd/pull/3360

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 05 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12266



--- Comment #3 from github-bugzilla puremagic.com 2014-03-07 17:03:14 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/364f2e5345833d8367940e77ed751130e2c41a32
fix Issue 12266 - Header generation produces uncompilable header

https://github.com/D-Programming-Language/dmd/commit/b509e9daab583e82458b9d63d5a0c0fdacf06ef7
Merge pull request #3360 from 9rnsr/fix12266

[REG2.065] Issue 12266 - Header generation produces uncompilable header

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 07 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12266


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 07 2014