{"action":"created","issue":{"url":"https://api.github.com/repos/jonase/eastwood/issues/171","labels_url":"https://api.github.com/repos/jonase/eastwood/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/jonase/eastwood/issues/171/comments","events_url":"https://api.github.com/repos/jonase/eastwood/issues/171/events","html_url":"https://github.com/jonase/eastwood/issues/171","id":107417958,"number":171,"title":"Documentation on primitive type hints seems to be incorrect","user":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-20T21:11:14Z","updated_at":"2015-09-22T16:13:46Z","closed_at":null,"body":"The docs suggest that the following is the correct way to tag primitives:\r\n\r\n``` clojure\r\n;; Correct primitive/primitive-array type hints on Vars\r\n(def ^{:tag 'int} my-int -2)\r\n(def ^{:tag 'bytes} bytearr1 (byte-array [2 3 4]))\r\n(defn ^{:tag 'boolean} positive? [x] (> x 0))\r\n```\r\n\r\nbut Eastwood complains about incorrect tags unless I change it to\r\n\r\n``` clojure\r\n;; Correct primitive/primitive-array type hints on Vars\r\n(def ^{:tag \"int\"} my-int -2)\r\n(def ^{:tag \"bytes\"} bytearr1 (byte-array [2 3 4]))\r\n(defn ^{:tag \"boolean\"} positive? [x] (> x 0))\r\n```\r\n\r\nIs my understanding correct that the docs are out of date?"},"comment":{"url":"https://api.github.com/repos/jonase/eastwood/issues/comments/142336834","html_url":"https://github.com/jonase/eastwood/issues/171#issuecomment-142336834","issue_url":"https://api.github.com/repos/jonase/eastwood/issues/171","id":142336834,"user":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T16:13:46Z","updated_at":"2015-09-22T16:13:46Z","body":"Specifically I've discovered this while working on [this commit](https://github.com/clojurewerkz/elastisch/commit/8f6b12f51d60728a1ed5871e4b27bef2d09b7d75)."}}