[Issue 4220] New: I cannot apply @safe to intrinsic operation(eg: std.math.sqrt)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 22 19:27:38 PDT 2010


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

           Summary: I cannot apply @safe to intrinsic operation(eg:
                    std.math.sqrt)
           Product: D
           Version: 2.041
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: zan77137 at nifty.com


--- Comment #0 from SHOO <zan77137 at nifty.com> 2010-05-22 19:27:36 PDT ---
I try to apply @safe/@trusted/@system to Phobos
See also http://lists.puremagic.com/pipermail/phobos/2010-May/000488.html
I found this issue there.

This issue causes mangling that had been influenced by @safe/@trusted.
dmd converts a specific symbol into intrinsic operation. However, dmd cannot
convert symbols that are marked by @safe/@trusted.
I am skeptical about the influence on mangling rule by @safe.
It may be related to overload, but I think that overload is unnecessary.

-- 
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