mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 15:19:35 +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;
|
||||
ctnSetType:
|
||||
begin
|
||||
// set of
|
||||
AddAssignment('[]');
|
||||
end;
|
||||
// set of
|
||||
AddAssignment('[]');
|
||||
ctnProcedureType:
|
||||
// address of proc
|
||||
AddAssignment('nil');
|
||||
ctnClass,ctnClassInterface,ctnDispinterface,
|
||||
ctnObjCClass,ctnObjCCategory,ctnObjCProtocol,ctnCPPClass:
|
||||
AddAssignment('nil');
|
||||
end;
|
||||
end;
|
||||
xtChar,
|
||||
|
@ -23,7 +23,7 @@ end;
|
||||
|
||||
procedure TestLots({%H-}s: string; {%H-}c: char; {%H-}p: pointer;
|
||||
{%H-}SignalState: TSignalState; {%H-}ShiftState: TShiftState;
|
||||
{%H-}HelpCtx: THelpContext);
|
||||
{%H-}HelpCtx: THelpContext; {%H-}Event: TNotifyEvent; {%H-}E: EStreamError);
|
||||
begin
|
||||
|
||||
end;
|
||||
@ -36,8 +36,10 @@ var
|
||||
SignalState: TSignalState;
|
||||
ShiftState: TShiftState;
|
||||
HelpCtx: THelpContext;
|
||||
Event: TNotifyEvent;
|
||||
E: EStreamError;
|
||||
begin
|
||||
TestLots(s,c,p,SignalState,ShiftState,HelpCtx);
|
||||
TestLots(s,c,p,SignalState,ShiftState,HelpCtx,Event,E);
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user