Skip to content
This repository has been archived by the owner on Feb 20, 2020. It is now read-only.

Fn body rewrite #48

Closed
wants to merge 3 commits into from
Closed

Fn body rewrite #48

wants to merge 3 commits into from

Conversation

frenchy64
Copy link
Member

No description provided.

Previously, :fn nodes were not rewritten directly. Instead each checked
arity was stored as a vector under :clojure.core.typed/cmethods.

To prepare for reflection resolution in function bodies, we need to actually
rewrite the :methods of :fn nodes. It's unclear how to handle arities that
are checked multiple times, so we disable rewriting for those arities and
leave those :methods entries untyped.
@frenchy64
Copy link
Member Author

This approach was wrong, #49 is a better approach.

@frenchy64 frenchy64 closed this Aug 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant