mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:09:25 +02:00
* fixed proc_to_procvar() type conversion in case the target procvar
type was generated on-the-fly rather than specified to the type conversion node git-svn-id: branches/jvmbackend@18762 -
This commit is contained in:
parent
687e9fb6dc
commit
1a0913c462
@ -199,7 +199,8 @@ implementation
|
||||
function tjvmtypeconvnode.typecheck_proc_to_procvar: tnode;
|
||||
begin
|
||||
result:=inherited typecheck_proc_to_procvar;
|
||||
if not assigned(totypedef) then
|
||||
if not assigned(totypedef) or
|
||||
(totypedef.typ<>procvardef) then
|
||||
begin
|
||||
if assigned(tprocvardef(resultdef).classdef) then
|
||||
internalerror(2011072405);
|
||||
|
Loading…
Reference in New Issue
Block a user