mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-05 19:50:43 +01:00
pastojs: error on method in record, bug #34518
git-svn-id: trunk@40259 -
This commit is contained in:
parent
e31a7e9b73
commit
799adf1d99
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user