wellington / go-libsass

Go wrapper for libsass, the only Sass 3.5 compiler for Go
http://godoc.org/github.com/wellington/go-libsass
Apache License 2.0
205 stars 28 forks source link

Use correct function to unmarshal Sass Errors. #72

Closed QuLogic closed 5 years ago

QuLogic commented 5 years ago

The location of the value in the Sass_Value union for Errors vs. Strings is different, so it can return bogus (usually NULL) values, depending on struct packing.

Fixes #71.