www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12595] New: dup/idup shouldn't be property functions

https://issues.dlang.org/show_bug.cgi?id=12595

          Issue ID: 12595
           Summary: dup/idup shouldn't be property functions
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: monarchdodra gmail.com

"dup" and "idup" actually *do* something. They shouldn't be properties, since
they don't emulate a sealed attribute.

There! I said it. It is now filed.

The new property rules should allow us to make this change, and it shouldn't be
breaking any code either.

--
Apr 18 2014