[Issue 5962] Template function declaration with prefixed storage class and auto occurs conflict

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5962


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


--- Comment #4 from Walter Bright bugzi...@digitalmars.com 2011-07-01 
18:18:21 PDT ---
https://github.com/D-Programming-Language/dmd/commit/781df821312d9350e9e750993b77ff43c0c8e30d

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


[Issue 5962] Template function declaration with prefixed storage class and auto occurs conflict

2011-05-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5962


bearophile_h...@eml.cc changed:

   What|Removed |Added

 CC||bearophile_h...@eml.cc


--- Comment #1 from bearophile_h...@eml.cc 2011-05-08 15:11:56 PDT ---
Is this bug 4040 ?

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


[Issue 5962] Template function declaration with prefixed storage class and auto occurs conflict

2011-05-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5962



--- Comment #2 from Kenji Hara k.hara...@gmail.com 2011-05-08 15:16:51 PDT ---
(In reply to comment #1)
 Is this bug 4040 ?

No. This issue is that passes on parsing but fails on semantic.
Bug 4040 is that fails on parsing.

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


[Issue 5962] Template function declaration with prefixed storage class and auto occurs conflict

2011-05-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5962



--- Comment #3 from Kenji Hara k.hara...@gmail.com 2011-05-08 15:56:10 PDT ---
Applying const/immutable/shared storage_class to function type is done in
FuncDeclaration::semantic, but template function lookup is before running it.
So deducing function template with FuncDeclaration::type that not applied
storage classes occurs conflict.

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