Summary: wrong function of an overload set printed on argument
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: DMD

--- Comment #0 from Trass3r <> 2011-11-08 17:31:15 PST ---
void foo(const char[] a) {}

void foo(int i) {}

void main()
    size_t i;

$ dmd -run test.d 
DMD v2.056 DEBUG
test.d(8): Error: function (const const(char[]) a) is not callable
using argument types (ulong)
test.d(8): Error: cannot implicitly convert expression (i) of type ulong to int

Little bit misleading.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to