mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 20:39:25 +02:00
FpDebug: PascalParser, treat skInterface like skClass
This commit is contained in:
parent
1b3e5ae738
commit
ccdcbb7bcf
@ -5152,7 +5152,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
if (tmp.Kind in [skClass, skRecord, skObject]) then begin
|
||||
if (tmp.Kind in [skClass, skInterface, skRecord, skObject]) then begin
|
||||
Result := tmp.MemberByName[MemberName];
|
||||
if Result = nil then begin
|
||||
SetError(fpErrNoMemberWithName, [MemberName]);
|
||||
@ -5167,7 +5167,7 @@ begin
|
||||
end;
|
||||
|
||||
if (tmp.Kind in [skType]) and
|
||||
(tmp.DbgSymbol <> nil) and (tmp.DbgSymbol.Kind in [skClass, skRecord, skObject])
|
||||
(tmp.DbgSymbol <> nil) and (tmp.DbgSymbol.Kind in [skClass, skInterface, skRecord, skObject])
|
||||
then begin
|
||||
Result := tmp.MemberByName[MemberName];
|
||||
if Result <> nil then begin
|
||||
|
Loading…
Reference in New Issue
Block a user