Invalid operation on a fixed-size shelf encountered.
#2056 Compile-time error
Invalid operation on a fixed-size shelf encountered.
Additional Information
'A' cannot be applied to X Y 'Z'.
where A is clear
, copy
, copy-clear
, new
, remove
, or save-clear
, X is the shelf scope, Y is the shelf type, and Z is the shelf name.
The X1 Y1 'Z1' is fixed with size S1, and cannot be copied to the X2 Y2 'Z2', with fixed size S2.
where X1 and X2 are the shelf scopes, Y1 and Y2 are the shelf types, Z1 and Z2 are the shelf names, and
S1 and S2 are the respective shelf sizes.
The X1 Y1 'Z1' has a maximum size of S1, and cannot be copied to the X2 Y2 'Z2', with maximum size S2.
where X1 and X2 are the shelf scopes, Y1 and Y2 are the shelf types, Z1 and Z2 are the shelf names, and
S1 and S2 are the respective maximum shelf sizes.
Recovery
Compilation continues but no compiled source code file will be saved.
Explanation
This error is triggered when an operation is encountered that would modify the current size of a shelf, but
the shelf being operated-on has a fixed size.
When one shelf is copied to another, either they must both be declared with the same size, or if the
destination size is declared variable-size with an upper bound, that upper bound must be big enough to contain the
source shelf.