GIR files generated by valac lack instance parameters for class methods

Hi,

I’m trying to use a GTK-library (https://notabug.org/grindhold/libgtkflow/) from Haskell using haskell-gi. The problem stated in the title of this post causes issues when using haskell-gi. Now, 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).

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

Can anyone shed some light on this? Thanks.

Solved: https://gitlab.gnome.org/GNOME/vala/-/issues/1128

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.