Fix 1cabc173
.
This commit is contained in:
parent
1cabc1730b
commit
0d585814ef
@ -9589,7 +9589,7 @@ begin
|
||||
Tmp.ExpectedType := GetTypeNo(BlockInfo, tmp.Val)
|
||||
else if Tmp.ExpectedType = FAnyString then begin
|
||||
Tmp.ExpectedType := GetTypeNo(BlockInfo, tmp.Val);
|
||||
if not IsStringType(Tmp.ExpectedType.BaseType) then
|
||||
if not IsStringOrCharType(Tmp.ExpectedType.BaseType) then
|
||||
begin
|
||||
MakeError('', ecTypeMismatch, '');
|
||||
Cleanup;
|
||||
|
Loading…
Reference in New Issue
Block a user