Reading out of range values

Official Description

6.6.5.2 For read, it is an error if the value possessed by the buffer-variable is not assignment-compatible with the variable-access.

Simplified Description

In other words, it is an error to read a value into a variable, if the value is not assignment compatible with the variable.

Error Handling

This error is reported if range checking is enabled.