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

support deftype/defrecord special reader syntax

    Details

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

      Description

      In Clojure, we can read a record with a special reader syntax with a piece of code like this:
      (read-string "#user.Person{:firstname "Joe", :lastname "Smith", :age 37}")

      In Clojurescript, the similar code with cljs.reader doesn't work:
      (cljs.reader/read-string "#user.Person{:firstname "Joe", :lastname "Smith", :age 37}")

      I causes an error:
      No reader function for tag user.Person

        Attachments

          Activity

            People

            • Assignee:
              bronsa Nicola Mometto
              Reporter:
              viebel viebel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: