[Vala] [BUG] Valac fails to emit throws on vapi generation



Fairly simple bug, when compiling the following code, valac doesn't
output the proper throws keyword on the delegate.

//compile with valac --vapi=throws.vapi throws.vala
public delegate void TestFunc() throws Error;
void main() {}

----

I get the following vapi file:

[CCode (cheader_filename = "throws.h")]
public delegate void TestFunc ();




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]