pekim / gobbi

gobbi is a set of generated Go bindings for gtk et al.
MIT License
28 stars 3 forks source link

code generation error #12

Closed rythmkraze closed 4 years ago

rythmkraze commented 4 years ago

Why do I get this error while compiling the "simple_window" example code in a new project module? Compiles fine when run inside gobbi/example/simple_window

$ go build -tags "gobject_2.56 glib_2.56 gdk_3.22 gdkpixbuf_2.36 gio_2.56 gtksource_3.24 gtk_3.22"
# github.com/pekim/gobbi/internal/generate
../../../go/pkg/mod/github.com/pekim/gobbi@v0.1.0/internal/generate/namespace-file-generate.go:21:6: file.NoFormat undefined (type *jen.File has no field or method NoFormat)
pekim commented 4 years ago

It looks like this is a regression introduced in v0.1.0.

I can see where the problem is. I'll try and fix it and release a new version of gobbi shortly.

pekim commented 4 years ago

This is fixed in v0.1.1.

Sorry for introducing not just a regression, but one with such a confusing manifestation.

rythmkraze commented 4 years ago

Fixes the issue. Thank you.