]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Emit delegate/enum typedefs to type-declaration section 7adb3a45bb8d663c0cfca55af26b7e6f7292b14a
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 6 Dec 2018 21:41:43 +0000 (22:41 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 7 Dec 2018 15:35:23 +0000 (16:35 +0100)
commit7adb3a45bb8d663c0cfca55af26b7e6f7292b14a
tree2417a70b4bff887d8b65745a987c5dec0b863bef
parent34dd7196b23c78ef9d480118f4b77a85067d3b7d
codegen: Emit delegate/enum typedefs to type-declaration section

This fixes compilation of circular dependency of delegates with enums,
structs, classes and interfaces.

Resolve interface prerequisites after writing forward declarations to
fix entagled delegate dependencies in them.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/318
codegen/valaccodebasemodule.vala
codegen/valaccodedelegatemodule.vala
codegen/valagtypemodule.vala