Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method code too large #28

Open
gfredericks opened this issue Sep 7, 2016 · 1 comment
Open

Method code too large #28

gfredericks opened this issue Sep 7, 2016 · 1 comment

Comments

@gfredericks
Copy link

When I tried to use this for the first time, I got the error:

Method code too large!, compiling:(/tmp/form-init8994061610506342078.clj:1:982)

and glancing around the code I noticed that the entire project map is injected into the code to be evaluated in the project. My speculation is that some other plugin is causing the project map to be prohibitively large.

Would it be reasonable to pull out the relevant parts (maybe just :source-paths and :test-paths?) of the project map before injecting it into the form to eval?

@dakrone
Copy link
Owner

dakrone commented Sep 7, 2016

Would it be reasonable to pull out the relevant parts (maybe just :source-paths and :test-paths?) of the project map before injecting it into the form to eval?

I think that would be reasonable. I haven't encountered this issue before so I didn't do anything to extract only parts of the project map

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants