Show: Delphi
C++
Display Preferences
E2061 Local class or interface types not allowed (Delphi)
From RAD Studio XE2
Go Up to Error and Warning Messages (Delphi) Index
Corresponds to object_local in previous compilers. Class and interface types cannot be declared inside a procedure body.