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

Already on GitHub? Sign in to your account

invalid color gives odd hsl error #309

Closed
springmeyer opened this Issue Oct 9, 2013 · 1 comment

Comments

Projects
None yet
2 participants
Member

springmeyer commented Oct 9, 2013

Using #b8dee instead of #b8dee6 will result in this error. ideally we could catch this slightly sooner and provide an error that might better help users figure out what is wrong.

screen shot 2013-10-09 at 1 12 03 pm

@tmcw tmcw closed this in cb177b7 Oct 23, 2013

Contributor

tmcw commented Oct 23, 2013

Fixed in that commit, now produces

invalid_color_in_fn.mss:2:34 incorrect arguments given to spin()

instead of nosediving. To do a better error than that, we would have to change the syntax of expressions and require them to be separated by whitespace or ops - right now #f00f00f is parsed as the color #f00f00 and the literal f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment