Boo

Exception Handling: Remove hidden '__exception' variable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.7.9
  • Fix Version/s: 0.8.1
  • Component/s: Compiler, Emitter
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Number of attachments :
    0

Description

See linked issue patch file.

Currently, Boo's exception handling routines emit a hidden variable when there is an anonymous exception handler of the form:

except:
  pass

This unused variable causes style errors when verified by FxCop. As well, the variable should never be able created as the user never asked for it and, by using an anonymous exception handler, didn't want it.

Issue Links

Activity

Hide
Marcus Griep added a comment -

The patch for this issue is conjoined with BOO-877

Show
Marcus Griep added a comment - The patch for this issue is conjoined with BOO-877
Hide
Marcus Griep added a comment -

Revision 2744

Show
Marcus Griep added a comment - Revision 2744

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: