[Issue 2445] New: D2 std.demangle example doesn't compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 7 11:59:33 PST 2008


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

           Summary: D2 std.demangle example doesn't compile
           Product: D
           Version: 2.019
          Platform: PC
               URL: http://www.digitalmars.com/d/2.0/phobos/std_demangle.htm
                    l
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: smjg at iname.com


The example given on the std.demangle page fails to compile with the errors:

demangle.d(19): function std.demangle.demangle (invariant(char)[] name) does
not
 match parameter types (char[])
demangle.d(19): Error: cannot implicitly convert expression (buffer) of type
cha
r[] to invariant(char)[]


-- 



More information about the Digitalmars-d-bugs mailing list