E2061 Local class or interface types not allowed (Delphi)

From RAD Studio
Jump to: navigation, search

Go Up to Error and Warning Messages (Delphi)

Corresponds to object_local in previous compilers. Class and interface types cannot be declared inside a procedure body.