{"action":"created","issue":{"url":"https://api.github.com/repos/cursiveclojure/cursive/issues/782","labels_url":"https://api.github.com/repos/cursiveclojure/cursive/issues/782/labels{/name}","comments_url":"https://api.github.com/repos/cursiveclojure/cursive/issues/782/comments","events_url":"https://api.github.com/repos/cursiveclojure/cursive/issues/782/events","html_url":"https://github.com/cursiveclojure/cursive/issues/782","id":60334520,"number":782,"title":"Incorrect incorrect arity warning for symbol with meta in function call","user":{"login":"mpietrzak","id":2089393,"avatar_url":"https://avatars.githubusercontent.com/u/2089393?v=3","gravatar_id":"","url":"https://api.github.com/users/mpietrzak","html_url":"https://github.com/mpietrzak","followers_url":"https://api.github.com/users/mpietrzak/followers","following_url":"https://api.github.com/users/mpietrzak/following{/other_user}","gists_url":"https://api.github.com/users/mpietrzak/gists{/gist_id}","starred_url":"https://api.github.com/users/mpietrzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpietrzak/subscriptions","organizations_url":"https://api.github.com/users/mpietrzak/orgs","repos_url":"https://api.github.com/users/mpietrzak/repos","events_url":"https://api.github.com/users/mpietrzak/events{/privacy}","received_events_url":"https://api.github.com/users/mpietrzak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-09T12:14:34Z","updated_at":"2015-03-10T23:53:48Z","closed_at":"2015-03-10T23:13:13Z","body":"Cursive incorrectly counts symbol with meta as separate arguments in function call, resulting in arity warning.\r\n\r\nSample code:\r\n\r\n```clojure\r\n(ns cursari.core\r\n  (:gen-class)\r\n  (:import (clojure.lang IObj)))\r\n\r\n\r\n(defn fn3\r\n  [^IObj x y z]\r\n  (println (format \"x: %s (%s), y: %s, z: %s\" x (meta x) y z)))\r\n\r\n\r\n(defn -main\r\n  \"I don't do a whole lot ... yet.\"\r\n  []\r\n  (let [c1 (fn3 '^ {:foo 1 :bar 2} s1 2 3) ; incorrect arity warning\r\n        c2 (fn3 (with-meta 's2 {:foo 1 :bar 2}) 2 3)]\r\n    (println c1)\r\n    (println c2)))\r\n```\r\n\r\nScreenshot:\r\n\r\n![zrzut ekranu 2015-03-09 o 13 09 31](https://cloud.githubusercontent.com/assets/2089393/6554584/acc51320-c65d-11e4-81cd-d5674c981f3d.png)\r\n"},"comment":{"url":"https://api.github.com/repos/cursiveclojure/cursive/issues/comments/78174157","html_url":"https://github.com/cursiveclojure/cursive/issues/782#issuecomment-78174157","issue_url":"https://api.github.com/repos/cursiveclojure/cursive/issues/782","id":78174157,"user":{"login":"mpietrzak","id":2089393,"avatar_url":"https://avatars.githubusercontent.com/u/2089393?v=3","gravatar_id":"","url":"https://api.github.com/users/mpietrzak","html_url":"https://github.com/mpietrzak","followers_url":"https://api.github.com/users/mpietrzak/followers","following_url":"https://api.github.com/users/mpietrzak/following{/other_user}","gists_url":"https://api.github.com/users/mpietrzak/gists{/gist_id}","starred_url":"https://api.github.com/users/mpietrzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpietrzak/subscriptions","organizations_url":"https://api.github.com/users/mpietrzak/orgs","repos_url":"https://api.github.com/users/mpietrzak/repos","events_url":"https://api.github.com/users/mpietrzak/events{/privacy}","received_events_url":"https://api.github.com/users/mpietrzak/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T23:53:47Z","updated_at":"2015-03-10T23:53:47Z","body":"After changing invocation like you say it does not work at all, but I guess this is odd syntax and explicit with-meta is cleaner anyway, so maybe there's no point to support that (even if it is correct syntax).\r\n\r\nThanks & best regards"}}