codetools: GetPossibleInitsForVariable: class

git-svn-id: trunk@47885 -
This commit is contained in:
mattias 2015-02-18 18:19:39 +00:00
parent bb14ab36ed
commit 262dfbf8f2
2 changed files with 12 additions and 6 deletions

View File

@ -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,

View File

@ -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.