{"action":"closed","issue":{"url":"https://api.github.com/repos/cursive-ide/cursive/issues/1068","repository_url":"https://api.github.com/repos/cursive-ide/cursive","labels_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1068/labels{/name}","comments_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1068/comments","events_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1068/events","html_url":"https://github.com/cursive-ide/cursive/issues/1068","id":107038381,"number":1068,"title":"Macros aren't resolved in Cursive if they are required by the cljs namespace","user":{"login":"maridonkers","id":2380205,"avatar_url":"https://avatars.githubusercontent.com/u/2380205?v=3","gravatar_id":"","url":"https://api.github.com/users/maridonkers","html_url":"https://github.com/maridonkers","followers_url":"https://api.github.com/users/maridonkers/followers","following_url":"https://api.github.com/users/maridonkers/following{/other_user}","gists_url":"https://api.github.com/users/maridonkers/gists{/gist_id}","starred_url":"https://api.github.com/users/maridonkers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maridonkers/subscriptions","organizations_url":"https://api.github.com/users/maridonkers/orgs","repos_url":"https://api.github.com/users/maridonkers/repos","events_url":"https://api.github.com/users/maridonkers/events{/privacy}","received_events_url":"https://api.github.com/users/maridonkers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cursive-ide/cursive/labels/Macros","name":"Macros","color":"f39c12"},{"url":"https://api.github.com/repos/cursive-ide/cursive/labels/Symbol%20Resolution","name":"Symbol Resolution","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-09-17T17:57:00Z","updated_at":"2016-08-12T03:32:55Z","closed_at":"2016-08-12T03:32:55Z","body":"In file: <https://github.com/bevuta/pepa/blob/master/src-cljs/pepa/components/root.cljs> (which is part of GIT project: <https://github.com/bevuta/pepa> GIT clone URL is: <https://github.com/bevuta/pepa.git>). The IntelliJ project was created from the project.clj file.\r\n\r\nIn the source code the line:\r\n\r\n```clojure\r\n(ui/defcomponent root-component [state owner]\r\n```\r\n\r\nis incorrectly marked with a  **ui/defcomponent cannot be resolved**. And the ns require \r\n\r\n```clojure\r\n[nom.ui :as ui]\r\n```\r\n\r\nis incorrectly marked as **unused alias**\r\n\r\nThe macro is declared, albeit via a *require-macros* in between step (see code excerpt below, where the *(:require-macros nom.ui)* leads to the code where the *defcomponent* macro is defined. \r\n\r\n```clojure\r\n(ns nom.ui\r\n  (:require\r\n   ;; Necessary for the `defcomponent' macro\r\n   om.core\r\n   sablono.core)\r\n  (:require-macros nom.ui))\r\n```\r\n\r\nThere are lots more (**cannot be resolved**, **unused alias** messages) shown in various files of the pepa project.\r\n\r\n1.8.0_60-b27x64 Oracle Corporation, Linux(amd64) v3.16.0-4-amd64 unknown (1920x1080, 1366x768)"}}
{"actor":{"display_login":"cursive-ide"}}