GIR files generated by valac lack instance parameters for class methods
Here’s a simple test-case to demonstrate a simple class that does not get the GIR output I expect: https://gist.github.com/boblehest/7126895d40cfa765db4813ca0b5a8f6b .
This seems to be what is causing issues for me when trying to create bindings to a library (libgtkflow) by using haskell-gi (haskell-gi consumes the GIR output created by compiling the library with valac, but it complains about the lack of instance-parameters for the class methods).
I don’t have a specification to refer to regarding what the right behavior is, but the behavior expected by haskell-gi seems very reasonable (class methods should have instance parameters).
Can anyone shed some light on this? Thanks.
Edited by Jørn Lode