www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2594] New: Const/immutable should not matter for value types in IFTI

reply d-bugmail puremagic.com writes:
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)|


-- 
Jan 19 2009
next sibling parent d-bugmail puremagic.com writes:
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: -------
Sep 02 2010
prev sibling parent d-bugmail puremagic.com writes:
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: -------
Mar 15 2011