|
@@ -746,7 +746,7 @@ implementation
|
|
maybe_call_procvar(right,true);
|
|
maybe_call_procvar(right,true);
|
|
|
|
|
|
{ assignments to formaldefs and open arrays aren't allowed }
|
|
{ assignments to formaldefs and open arrays aren't allowed }
|
|
- if is_open_array(left.resultdef) then
|
|
|
|
|
|
+ if is_open_array(left.resultdef) or is_array_of_const(left.resultdef) then
|
|
begin
|
|
begin
|
|
CGMessage(type_e_assignment_not_allowed);
|
|
CGMessage(type_e_assignment_not_allowed);
|
|
result:=cerrornode.create;
|
|
result:=cerrornode.create;
|