mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-07 10:06:00 +02:00
* also handle tc_int_2_int,tc_int_2_bool,tc_bool_2_int in
target_specific_general_typeconv() for enum type conversions git-svn-id: branches/jvmbackend@18628 -
This commit is contained in:
parent
815ab863b6
commit
460c7a519b
@ -664,7 +664,7 @@ implementation
|
||||
toarrtype: char;
|
||||
begin
|
||||
resnode:=nil;
|
||||
if convtype<>tc_equal then
|
||||
if not(convtype in [tc_equal,tc_int_2_int,tc_int_2_bool,tc_bool_2_int]) then
|
||||
begin
|
||||
result:=false;
|
||||
exit
|
||||
|
Loading…
Reference in New Issue
Block a user