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

           Summary: Wrong mangling of in parameters
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: andrej.mitrov...@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-10-03 
16:00:33 PDT ---
import std.stdio;

void foo(const int x) { }
void bar(const scope int x) { }
void doo(in int x) { }

void main()
{
    writeln(foo.mangleof);
    writeln(bar.mangleof);
    writeln(doo.mangleof);
}

_D4test3fooFxiZv
_D4test3barFMxiZv
_D4test3dooFxiZv

'doo' should have the same mangling as 'bar', but it has mangling as 'foo'.
Fixing this will fix Issue 8695.

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

Reply via email to