Interface TMyInterface

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TMyInterface<T> = interface

Description

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