cursive icon indicating copy to clipboard operation
cursive copied to clipboard

Type inference does not work correctly for catch blocks

Open cursive-ide opened this issue 10 months ago • 0 comments

For example:

(try
  (URI. (subs line 24))
  (catch Exception e
    (print/print-error state (str "Error parsing URL " (subs line 24) ": "
                       (.getMessage e)))))

Here, e does not have type Exception.

cursive-ide avatar Apr 16 '24 05:04 cursive-ide