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

Fails with attached file #7

Closed
alanz opened this issue Apr 9, 2012 · 3 comments
Closed

Fails with attached file #7

alanz opened this issue Apr 9, 2012 · 3 comments

Comments

@alanz
Copy link
Collaborator

alanz commented Apr 9, 2012

Reported by @snoyberg

Apologies for not being able to narrow this bug down farther, but
here's what I have. When I try to minify the attached file, I get the
following output:

test2.hs: Prelude.head: empty list

The files are in the repo as test/unminified/issue7.js and test/unminified/issue7.hs

@alanz
Copy link
Collaborator Author

alanz commented Apr 9, 2012

Narrowed it down to

var hljs=new function(){function k(){if(k.called){return}k.called=true;var r=document.getElementsByTagName("pre");for(var p=0;p<r.length;p++){}}}();

@alanz alanz closed this as completed in 6a29b5a Apr 9, 2012
@alanz
Copy link
Collaborator Author

alanz commented Apr 9, 2012

Updated on hackage as version 0.0.16

@snoyberg
Copy link
Contributor

Verified as fixed, thank you!

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