nasser / magic

Morgan And Grand Iron Clojure
http://nas.sr/magic/
365 stars 18 forks source link

Support direct linking #186

Closed nasser closed 4 years ago

nasser commented 4 years ago

We should be able to optionally turn var invocations into static method calls. This will likely require emitting static methods for functions that are not closures.

nasser commented 4 years ago

this also affects type flow, so we'd need a way to intervene on magic.analyzer.types/ast-type from the outside (:invoke always returns Object as of right now because of invocation through clojure.lang.IFn).

nasser commented 4 years ago

closed as duplicate of #181