Use of GLib.return_if_fail in construct {} produces invalid code
Submitted by Stef Walter
Link to original bug (#722090)
Description
The construct { } syntax in vala does not have a return value. However when using GLib.return_if_fail within a construct { } section, the resulting code is placed in an xxx_constructor() function which does have a return value.
Therefore you get a "Non-void function should return a value" problem.
Will attach a test case.