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

Use qualified class names for return type hints of standard Clojure functions

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not Reproducible
    • Affects versions: Release 1.6
    • Fix versions: None
    • Labels:
    • Patch:
      Code

      Description

      tools.analyzer (used by the Clojure lint tool Eastwood) crashes when encountering such a simple-named return type hint. So currently, I cannot lint parts of my project because there's code that calls `clojure.core/format`.

      Cause: return type class names are not fully qualified in clojure.core.

      Solution: The attached patch converts all function return type hints to spell out the class name fully qualified.

      Patch: 0001-Use-fully-qualified-class-names-for-return-type-hint.patch

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tsdh Tassilo Horn
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: