ok_recursive_ancestor
type TMyInterface<T> = interface
Valid Pascal, FPC compiles this (just fix first TMyInterface, e.g. to not declare explicit ancestor). Generic and non-generic TMyClass are different types.