Re: [fpc-devel] Local classes and interfaces

2020-12-19 Thread Sven Barth via fpc-devel
Blaise--- via fpc-devel schrieb am Sa., 19. Dez. 2020, 12:47: > Behind the scene, the Closures implementation declares classes and > interfaces. And, because I strongly believe it to be conceptually the right > way, such entities are declared in the innermost routine scope. For example, > ---

[fpc-devel] Local classes and interfaces

2020-12-19 Thread Blaise--- via fpc-devel
Behind the scene, the Closures implementation declares classes and interfaces. And, because I strongly believe it to be conceptually the right way, such entities are declared in the innermost routine scope. For example, ---8<--- procedure Foo; type Local = reference to procedure;