|
@@ -676,9 +676,10 @@ implementation
|
|
|
|
|
|
{ maybe type conversion for the index value, but
|
|
|
do not convert enums,booleans,char }
|
|
|
- if (right.resulttype.def.deftype<>enumdef) and
|
|
|
- not(is_char(right.resulttype.def) or is_widechar(right.resulttype.def)) and
|
|
|
- not(is_boolean(right.resulttype.def)) then
|
|
|
+ if ((right.resulttype.def.deftype<>enumdef) and
|
|
|
+ not(is_char(right.resulttype.def) or is_widechar(right.resulttype.def)) and
|
|
|
+ not(is_boolean(right.resulttype.def))) or
|
|
|
+ (left.resulttype.def.deftype <> arraydef) then
|
|
|
begin
|
|
|
inserttypeconv(right,sinttype);
|
|
|
end;
|