They called it enallage.
"The Arte of English Poesie"
George Puttenham
141 enallage, or figure of exchange.
"The Arte of English Poesie"
George Puttenham
Le Moyne thinks that we need have no difficulty in assuming such an enallage.
"Christology of the Old Testament: And a Commentary on the Messianic Predictions. Vol. 2"
Ernst Hengstenberg