Skip to content

Commit

Permalink
sci
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Oct 3, 2024
1 parent e816efb commit 8dd81ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sci/impl/resolve.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@
:file @utils/current-file
:ns @utils/current-ns)]
#?(:clj
;; TODO:
;; - [ ] if sym-name doesn't start with dot, it might be a static method which we need to turn into an IFn
;; - [ ] but if it's a field, we still need to do the field call
;; - [ ] if sym-name starts with dot, it's def. a method call which we need to create an IFn for
(->Node
(interop/get-static-field clazz sym-name)
stack) #_(if (str/starts-with? (str sym-name) ".")
Expand Down

0 comments on commit 8dd81ad

Please sign in to comment.