Internal error 2011010304 (arrayoperators)

Self explainatory. Latest trunk.

{$modeswitch arrayoperators}

var
  bools: array of boolean;
  bool: boolean;

begin
  bools += [bool or bool]; // project1.lpr(8,26) Error: Internal error 2011010304
end.
{$modeswitch arrayoperators}
 
var
  bools: array of boolean;
  s: string;
 
begin
  bools := [];
  bools += [(s <> '') and (s[1] = 'x')]; // project1.lpr(9,40) Error: Internal error 2011010304
end.
Edited by Fibonacci