Thread overview
[Issue 2594] New: Const/immutable should not matter for value types in IFTI
Jan 19, 2009
d-bugmail
Sep 02, 2010
David Simcha
Mar 15, 2011
Simen Kjaeraas
January 19, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2594

           Summary: Const/immutable should not matter for value types in
                    IFTI
           Product: D
           Version: 2.023
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: dsimcha@yahoo.com


void main() {
    immutable uint a;
    uint b;
    foo(a, b);
}

void foo(T)(T lhs, T rhs) {}

Compile time errors:

template test6.foo(T) does not match any function template declaration
template test6.foo(T) cannot deduce template function from argument types
!()(immutable(uint),uint)|


-- 

September 02, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=2594


David Simcha <dsimcha@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |braddr@puremagic.com


--- Comment #1 from David Simcha <dsimcha@yahoo.com> 2010-09-02 13:11:09 PDT ---
*** Issue 4594 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: -------
March 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=2594


Simen Kjaeraas <simen.kjaras@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |simen.kjaras@gmail.com
         Resolution|                            |DUPLICATE


--- Comment #2 from Simen Kjaeraas <simen.kjaras@gmail.com> 2011-03-15 10:21:30 PDT ---
*** This issue has been marked as a duplicate of issue 2128 ***

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