[Issue 2128] Template function argument binding is too restrictive wrt qualifiers

2018-05-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2128

Dmitry Olshansky  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||dmitry.o...@gmail.com
 Resolution|--- |WORKSFORME

--- Comment #5 from Dmitry Olshansky  ---
Works with s/invariant/immutable/:


void foo(Idx)(Idx a, Idx b) {}

void main(string[] args)
{
uint x;
immutable uint y;
foo(x, y);
}


Compiles just fine.

--


[Issue 2128] Template function argument binding is too restrictive wrt qualifiers

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2128


Don  changed:

   What|Removed |Added

   Severity|normal  |enhancement


--- Comment #4 from Don  2012-11-12 07:35:28 PST ---
Changing to enhancement.

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


[Issue 2128] Template function argument binding is too restrictive wrt qualifiers

2011-03-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2128


Simen Kjaeraas  changed:

   What|Removed |Added

 CC||dsim...@yahoo.com


--- Comment #3 from Simen Kjaeraas  2011-03-15 10:21:31 
PDT ---
*** Issue 2594 has been marked as a duplicate of this issue. ***

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