mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-08 01:39:31 +01:00
* always get the basedef for an enum before using its classdef (since only
the basedef has an associated classdef) git-svn-id: branches/jvmbackend@20142 -
This commit is contained in:
parent
7f15423d76
commit
0dfdae3132
@ -230,7 +230,7 @@ implementation
|
||||
end;
|
||||
enumdef:
|
||||
begin
|
||||
result:=jvmaddencodedtype(tenumdef(def).classdef,false,encodedstr,forcesignature,founderror);
|
||||
result:=jvmaddencodedtype(tenumdef(def).getbasedef.classdef,false,encodedstr,forcesignature,founderror);
|
||||
end;
|
||||
orddef :
|
||||
begin
|
||||
@ -680,7 +680,7 @@ implementation
|
||||
end;
|
||||
enumdef:
|
||||
begin
|
||||
result:=tenumdef(def).classdef;
|
||||
result:=tenumdef(def).getbasedef.classdef;
|
||||
end;
|
||||
pointerdef :
|
||||
begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user