pastojs: error on method in record, bug #34518

git-svn-id: trunk@40259 -
This commit is contained in:
Mattias Gaertner 2018-11-07 17:47:11 +00:00
parent e31a7e9b73
commit 799adf1d99

View File

@ -3091,6 +3091,9 @@ var
ptm: TProcTypeModifier;
TypeEl, ElTypeEl: TPasType;
begin
if El.Parent.Parent is TPasRecordType then
RaiseNotYetImplemented(20181107183603,El,'methods in records');
inherited FinishProcedureType(El);
if El is TPasFunctionType then