[Issue 14742] Changing function signatures breaks code

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jul 25 21:06:59 PDT 2015


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> ---
I'm going to resolve this as wontfix. I know I come down hard on breaking
changes, but in my mind I thought it was good enough if calling the function
with the same arguments continues to work. For example, adding a parameter with
a default value will enable the calls to work, but of course anything using
ParameterTypeTupe or relying on the particular mangled name is going to break.
I'm going to say that the latter two cases are a little too restrictive to say
we won't break them.

--


More information about the Digitalmars-d-bugs mailing list