From 5c682f94c6b465f75b3e638ecff77adaf87aabb2 Mon Sep 17 00:00:00 2001
From: Robert Griesemer
+Within a type parameter list of a generic type T, a type constraint
+may not (directly, or indirectly through the type parameter list of another
+generic type) refer to T.
+
+type T1[P T1[P]] ⦠// illegal: T1 refers to itself
+type T2[P interface{ T2[int] }] ⦠// illegal: T2 refers to itself
+type T3[P interface{ m(T3[int])}] ⦠// illegal: T3 refers to itself
+type T4[P T5[P]] ⦠// illegal: T4 refers to T5 and
+type T5[P T4[P]] ⦠// T5 refers to T4
+
+type T6[P int] struct{ f *T6[P] } // ok: reference to T6 is not in type parameter list
+