Clojure

Portable "catch-all" mechanism

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test
  • Approval:
    Triaged

Description

Design page: http://dev.clojure.org/display/design/Platform+Errors

CLJS ticket/patch: http://dev.clojure.org/jira/browse/CLJS-661

This patch is more permissive than my patch for CLJS: The CLJS patch ensures :default catch blocks occur between non-default catch blocks and finally blocks, if present. This patch just makes (catch :default ...) a synonym for (catch Throwable ...). I wanted to keep the change to the compiler minimum.

Activity

Brandon Bloom made changes -
Field Original Value New Value
Attachment CLJS-661-v001.patch [ 12439 ]
Brandon Bloom made changes -
Attachment CLJ-1293-v001.patch [ 12440 ]
Brandon Bloom made changes -
Attachment CLJS-661-v001.patch [ 12439 ]
Alex Miller made changes -
Labels patch
Alex Miller made changes -
Approval Triaged [ 10120 ]

People

Vote (0)
Watch (4)

Dates

  • Created:
    Updated: