Closed Bug 1417799 Opened 8 years ago Closed 8 years ago

Remove conditional catch consumers in mail/.

Categories

(Thunderbird :: General, enhancement)

enhancement
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 59.0

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

non-standard conditional catch syntax is going to be removed in bug 1228841. there are 2 cases for replacement. case 1: only conditional catch from: try { A } catch (e if cond) { B } to try { A } catch (e) { if (!cond) { throw e; } B } case 2: conditional catch and unconditional catch from: try { A } catch (e if cond) { B } catch { C } to try { A } catch (e) { if (cond) { B } else { C } }
Attachment #8928864 - Flags: review?(acelists)
Comment on attachment 8928864 [details] [diff] [review] Remove conditional catch consumers in mail/. Review of attachment 8928864 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #8928864 - Flags: review?(acelists) → review+
Pushed by arai_a@mac.com: https://hg.mozilla.org/comm-central/rev/92e2cda4467f Remove conditional catch consumers in mail/. r=aceman
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
OS: Unspecified → All
Hardware: Unspecified → All
Target Milestone: --- → Thunderbird 59.0
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: