You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 5524 Reporter:@alainfrisch Assigned to:@alainfrisch Status: closed (set by @xavierleroy on 2013-08-31T10:48:41Z) Resolution: fixed Priority: normal Severity: minor Category: typing
Bug description
In the same vein as the new warnings for various kinds of unused things, it would be useful to detect unused exception declarations. Exceptions could be treated very similarly to constructors, meaning that an exception which is captured (pattern-matching) but cannot be raised would be detected as being useless.
The text was updated successfully, but these errors were encountered:
Original bug ID: 5524
Reporter: @alainfrisch
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2013-08-31T10:48:41Z)
Resolution: fixed
Priority: normal
Severity: minor
Category: typing
Bug description
In the same vein as the new warnings for various kinds of unused things, it would be useful to detect unused exception declarations. Exceptions could be treated very similarly to constructors, meaning that an exception which is captured (pattern-matching) but cannot be raised would be detected as being useless.
The text was updated successfully, but these errors were encountered: