Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions project.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(defproject tools.analyzer.clr "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [;;[org.clojure/clojure "1.8.0"]
])
5 changes: 3 additions & 2 deletions src/clojure/tools/analyzer/clr/analyze_host_forms.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
[uniquify :refer [uniquify-locals]]]
[clojure.tools.analyzer.clr
[errors :refer [error] :as errors]
[types :refer [read-generic-name clr-type class-for-name best-match]]]))
[types :refer [read-generic-name clr-type class-for-name best-match]]])
(:import [System.Reflection BindingFlags]))

(def public-instance (enum-or BindingFlags/Instance BindingFlags/Public))
(def public-static (enum-or BindingFlags/Static BindingFlags/Public))
Expand Down Expand Up @@ -264,4 +265,4 @@
analyze-host-field
analyze-constructor
analyze-host-interop
analyze-host-call))
analyze-host-call))