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

Marshaling methods for ImportNode, fixes #1028 #1029

Closed
wants to merge 4 commits into from

Conversation

cheald
Copy link

@cheald cheald commented Nov 30, 2013

This simply adds _dump and ::load methods for ImportNode, which avoids dumping the @options instance variable, which may be undumpable for reasons external to Sass. For example, sass-rails has anonymous classes and Hashes with default procs, neither of which can be marshaled, and prevents sass from doing its caching work.

…ith sass-rails (and other undumpable importers)
@nateberkopec
Copy link

+1 for merge

@cheald
Copy link
Author

cheald commented Dec 27, 2013

The commit showed up here since I have an outstanding pull request, but 60945ce is a fix for #1057.

@spajus
Copy link

spajus commented Dec 27, 2013

👍

@cheald
Copy link
Author

cheald commented Dec 27, 2013

It actually doesn't seem to fix it now that I'm running it in my full app rather than in my test harness. Second patch incoming :)

@nex3
Copy link
Contributor

nex3 commented Jan 7, 2014

I'm still not sure the previous commits are the correct fix for #1028; see my comments on that issue for details.

Please create a separate pull request for fixing #1057.

@cheald
Copy link
Author

cheald commented Jan 7, 2014

Will do.

@nex3
Copy link
Contributor

nex3 commented Feb 1, 2014

It looks like this isn't the right fix for #1028 after all.

@nex3 nex3 closed this Feb 1, 2014
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

Successfully merging this pull request may close these issues.

None yet

4 participants