https://bugzilla.gnome.org/show_bug.cgi?id=688732
structs/bug669580.vala \
structs/bug685177.vala \
structs/bug686190.vala \
+ structs/bug688732.vala \
structs/bug690380.vala \
structs/bug694140.vala \
structs/bug749952.vala \
--- /dev/null
+struct Foo<T> {
+ public T t;
+}
+
+struct Bar : Foo<Bar> {
+}
+
+void main () {
+}
if (st.base_type != null) {
// make sure that base type is resolved
+ if (current_scope == st.scope) {
+ // recursive declaration in generic base type
+ return new StructValueType (st);
+ }
+
var old_scope = current_scope;
current_scope = st.scope;