← board

Empty class descendant shorthand

Problem

FPC accepts an empty descendant declaration with a parent and no explicit end:

EChess = class(Exception);

PXX currently treats this as the start of a class body, consumes following type declarations, and eventually fails later in the type section.

Scope

T = class(TBase)
end;

Acceptance

Log

Resolved-in: 1dd9873 (finalizing commit)