mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:09:27 +02:00
pas2js: split ReadElement, add to parent before reading resolver data
git-svn-id: trunk@45369 -
This commit is contained in:
parent
08cb5b7665
commit
0548ac5549
@ -14988,7 +14988,7 @@ var
|
||||
begin
|
||||
Result:=nil;
|
||||
if not (Expr.CustomData is TResolvedReference) then
|
||||
RaiseNotYetImplemented(20170518203134,Expr);
|
||||
RaiseNotYetImplemented(20170518203134,Expr,GetObjName(Expr.CustomData));
|
||||
Ref:=TResolvedReference(Expr.CustomData);
|
||||
Decl:=Ref.Declaration;
|
||||
{$IFDEF VerbosePasResEval}
|
||||
@ -28087,7 +28087,7 @@ begin
|
||||
Data:=TPasSpecializeTypeData.Create;
|
||||
// add to free list
|
||||
AddResolveData(El,Data,lkModule);
|
||||
Data.SpecializedType:=Result as TPasGenericType;
|
||||
Data.SpecializedType:=Result as TPasGenericType; // no AddRef
|
||||
end;
|
||||
end;
|
||||
|
||||
|
@ -1138,7 +1138,7 @@ type
|
||||
// Dispatch and message modifiers:
|
||||
DispatchField: String;
|
||||
DispatchStrField: String;
|
||||
MsgIntToProc, MsgStrToProc: TMessageIdToProc_List; // // not stored by filer
|
||||
MsgIntToProc, MsgStrToProc: TMessageIdToProc_List; // not stored by filer
|
||||
ElevatedLocals: TPas2jsElevatedLocals;
|
||||
public
|
||||
constructor Create; override;
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user