Uploaded image for project: 'tools.reader'
  1. TRDR-20

starting column number too large by 1 for sets

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Labels:
      None

      Description

      user=> (require '[clojure.tools.reader :as tr])
      nil
      user=> (require '[clojure.tools.reader.reader-types :as rt])
      nil
      user=> (defn rs [s]
        #_=>   (tr/read (rt/source-logging-push-back-reader s)))
      #'user/rs
      user=> (meta (rs "#{1 2}"))
      {:line 1, :column 2, :end-line 1, :end-column 7, :source "#{1 2}"}
      

      The :column metadata starts at the "{" in the "#{}" delimiter of the set.

        Attachments

          Activity

            People

            • Assignee:
              bronsa Nicola Mometto
              Reporter:
              jafingerhut Andy Fingerhut
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: