[Issue 3013] Weird message with cryptic mangled name - implicit conversion error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 21 17:20:06 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3013


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com
            Summary|bizarre diagnostic message  |Weird message with cryptic
                   |                            |mangled name - implicit
                   |                            |conversion error




--- Comment #4 from Stewart Gordon <smjg at iname.com>  2009-05-21 17:20:05 PDT ---
(In reply to comment #1)
> string.format("abc","abc");
>  is same as
> format(string, "abc", "abc");
>  which means:
> format(immutable(char)[], "abc", "abc");

I'm confused.  Since when has it been legal to pass a type as a function
argument?

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


More information about the Digitalmars-d-bugs mailing list