mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 13:10:28 +02:00
* set the fileinfo of typeconversions created using inserttypeconv*()
to that of the left node * same for a typeconversion inserted in the typecheck pass of taddrnode git-svn-id: trunk@13579 -
This commit is contained in:
parent
1f5d9b932f
commit
2f7457f37e
@ -249,6 +249,7 @@ implementation
|
||||
else
|
||||
begin
|
||||
p:=ctypeconvnode.create(p,def);
|
||||
p.fileinfo:=ttypeconvnode(p).left.fileinfo;
|
||||
typecheckpass(p);
|
||||
end;
|
||||
end;
|
||||
@ -270,6 +271,7 @@ implementation
|
||||
else
|
||||
begin
|
||||
p:=ctypeconvnode.create_internal(p,def);
|
||||
p.fileinfo:=ttypeconvnode(p).left.fileinfo;
|
||||
typecheckpass(p);
|
||||
end;
|
||||
end;
|
||||
|
@ -402,6 +402,7 @@ implementation
|
||||
if not isprocvar then
|
||||
begin
|
||||
left:=ctypeconvnode.create_proc_to_procvar(left);
|
||||
left.fileinfo:=fileinfo;
|
||||
typecheckpass(left);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user