Uploaded image for project: 'Clojure'
  1. CLJ-1023

non-tail-position try block breaks mutable fields in deftype

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Declined
    • Affects versions: Release 1.4, Release 1.3
    • Fix versions: None
    • Labels:
      None

      Description

      The :unsynchronized-mutable fields of a deftype cannot be set! inside a try block that is not in tail position of the method.

      See file *demonstration.clj* for an complete code example.

        Attachments

          Activity

            People

            • Assignee:
              richhickey Rich Hickey
              Reporter:
              stuart.sierra Stuart Sierra
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: