The union Sass_Value is only forward declared in Sass headers, and no full definition is provided publicly. Go 1.20 now complains about instantiating incomplete types such as these:
libs/encoding.go:16:9: cgo.Incomplete can't be allocated in Go; it is incomplete (or unallocatable)
libs/encoding.go:247:26: cgo.Incomplete can't be allocated in Go; it is incomplete (or unallocatable)
The
union Sass_Value
is only forward declared in Sass headers, and no full definition is provided publicly. Go 1.20 now complains about instantiating incomplete types such as these:Instead, create a NULL
Sass_Value
.