GIR files generated by valac lack instance parameters for class methods


I’m trying to use a GTK-library ( 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:

Can anyone shed some light on this? Thanks.