mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 13:59:28 +02:00
* fixed compilation after r25847 (mantis #25237)
git-svn-id: trunk@25870 -
This commit is contained in:
parent
353c15fb34
commit
c693a91e18
@ -1083,7 +1083,7 @@ implementation
|
||||
but do not allow records to be directly typecasted into class/
|
||||
pointer types (you have to use FpcBaseRecordType(@rec) instead) }
|
||||
if not is_record(fromdef) and
|
||||
is_related(fromdef,todef) then
|
||||
def_is_related(fromdef,todef) then
|
||||
exit;
|
||||
if check_type_equality(fromdef,todef) then
|
||||
exit;
|
||||
|
@ -55,7 +55,7 @@ implementation
|
||||
|
||||
uses
|
||||
verbose,globals,systems,globtype,constexp,
|
||||
symconst,symdef,symsym,aasmtai,aasmdata,aasmcpu,defutil,jvmdef,
|
||||
symconst,symdef,symsym,aasmtai,aasmdata,aasmcpu,defutil,jvmdef,defcmp,
|
||||
procinfo,cgbase,pass_1,pass_2,parabase,
|
||||
cpubase,cpuinfo,
|
||||
nbas,nld,ncon,ncnv,
|
||||
|
Loading…
Reference in New Issue
Block a user