Walter Bright <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #8 from Walter Bright <> 2012-02-01 
00:03:28 PST ---
The concept here is that, if a base function and its override both have an IN
contract, then only one of them needs to succeed. This is done by generating:

    catch ()
      ... body of ...

So if doesn't throw, need not be executed, and the
contract is valid. If throws, then's body is executed.

As you can see, it swallows any exception generated by the contract. Whether
this is correct or not is certainly debatable.

I think a reasonable solution which will target this particular thing would be
to mark that try/catch as being valid even in safe mode. That'll change it from
a regression to an enhancement request to figure out a better way, as at least
it'll work as documented.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to