]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Emit struct declaration typedef before resolving its fields
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 10 Jan 2019 19:02:39 +0000 (20:02 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 10 Jan 2019 19:15:31 +0000 (20:15 +0100)
commit0fcdda740f64c09d49777fa74cac71b983275bdb
treefae17a3e2a4819537fe7b0062894798ceb5ff585
parent9a7c621d6523191922438f8649490e3a4909760f
codegen: Emit struct declaration typedef before resolving its fields

This a regression when compiling a circular dependency of delegates with
structs.

Regression of 7adb3a45bb8d663c0cfca55af26b7e6f7292b14a

See https://gitlab.gnome.org/GNOME/vala/issues/318
codegen/valaccodestructmodule.vala
tests/Makefile.am
tests/ordering/delegate-struct.vala
tests/ordering/struct-delegate.vala [new file with mode: 0644]