November 01, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6873

           Summary: Multiple storage class is not allowed on template
                    argument
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: k.hara.pg@gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2011-11-01 06:29:58 PDT ---
Code:
----
template Test(T)
{
    pragma(msg, T);
}
alias Test!(const shared int) X;

Output:
----
test.d(5): found 'const' when expecting '('
test.d(5): (arguments) expected following shared(int)
test.d(5): found 'X' when expecting ')' following template argument list
test.d(5): no identifier for declarator Test!(shared(int)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 13, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6873


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2011-12-13 07:31:32 PST ---
https://github.com/D-Programming-Language/dmd/pull/556

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 25, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6873



--- Comment #2 from github-bugzilla@puremagic.com 2012-09-25 01:28:49 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/3f0ccbaa3daa47a0b4a18b1ae2d55871e5e41a1e Issue 6873 - Multiple storage class is not allowed on template argument

https://github.com/D-Programming-Language/dmd/commit/ec3e3300949b5aef30c7a71a0287a77135739144 Merge pull request #556 from 9rnsr/fix3091

Issue 3091 & 6873 - Make "StorageClasses Type" syntax available in some where

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 25, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6873



--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2012-09-25 06:43:16 PDT ---
Fix for language reference: https://github.com/D-Programming-Language/d-programming-language.org/issues/159

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 23, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6873


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich@gmail.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Top | Discussion index | About this forum | D home