[Vala] d6dfe515 (gobject-2.0: Add constructor to GLib.Object class) breaks .gir generation



Hi,

I recompiled vala from master and the .gir generation is broken, for broken
meaning the g-ir-compiler rejects the .gir file. The problem is, that since
mentioned commit, constructors are written with name ".new" (instead of
"new") and g-ir-compiler complains because it's not an identifier.

Is the feature worth the trouble (the GLib.Object.new seems to be the only
use)? The gir writer could be instructed to strip the "." if the feature is
to be kept.

-- 
                                                 Jan 'Bulb' Hudec <bulb ucw cz>



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