www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4221] New: dmd should not allow overload between safe/ trusted and system

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

           Summary: dmd should not allow overload between  safe/ trusted
                    and  system
           Product: D
           Version: 2.041
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: zan77137 nifty.com



I tried to apply  safe/ trusted/ system to Phobos.
See also http://lists.puremagic.com/pipermail/phobos/2010-May/000488.html
I found this issue there.

Document says "Functions are overloaded based on how well the arguments to a
function can match up with the parameters."
But  safe functions can overload between  system functions, though  safe is
unrelated to parameters.
It's enough to have only  safe function.

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