mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 07:39:29 +02:00
codetools: GetPossibleInitsForVariable: class
git-svn-id: trunk@47885 -
This commit is contained in:
parent
bb14ab36ed
commit
262dfbf8f2
@ -6100,10 +6100,14 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
ctnSetType:
|
ctnSetType:
|
||||||
begin
|
// set of
|
||||||
// set of
|
AddAssignment('[]');
|
||||||
AddAssignment('[]');
|
ctnProcedureType:
|
||||||
end;
|
// address of proc
|
||||||
|
AddAssignment('nil');
|
||||||
|
ctnClass,ctnClassInterface,ctnDispinterface,
|
||||||
|
ctnObjCClass,ctnObjCCategory,ctnObjCProtocol,ctnCPPClass:
|
||||||
|
AddAssignment('nil');
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
xtChar,
|
xtChar,
|
||||||
|
@ -23,7 +23,7 @@ end;
|
|||||||
|
|
||||||
procedure TestLots({%H-}s: string; {%H-}c: char; {%H-}p: pointer;
|
procedure TestLots({%H-}s: string; {%H-}c: char; {%H-}p: pointer;
|
||||||
{%H-}SignalState: TSignalState; {%H-}ShiftState: TShiftState;
|
{%H-}SignalState: TSignalState; {%H-}ShiftState: TShiftState;
|
||||||
{%H-}HelpCtx: THelpContext);
|
{%H-}HelpCtx: THelpContext; {%H-}Event: TNotifyEvent; {%H-}E: EStreamError);
|
||||||
begin
|
begin
|
||||||
|
|
||||||
end;
|
end;
|
||||||
@ -36,8 +36,10 @@ var
|
|||||||
SignalState: TSignalState;
|
SignalState: TSignalState;
|
||||||
ShiftState: TShiftState;
|
ShiftState: TShiftState;
|
||||||
HelpCtx: THelpContext;
|
HelpCtx: THelpContext;
|
||||||
|
Event: TNotifyEvent;
|
||||||
|
E: EStreamError;
|
||||||
begin
|
begin
|
||||||
TestLots(s,c,p,SignalState,ShiftState,HelpCtx);
|
TestLots(s,c,p,SignalState,ShiftState,HelpCtx,Event,E);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user