fix Issue 12025 - Wrong purity violation accessing the length of a fixed size array
Merge pull request #3303 from 9rnsr/fix12025

Issue 12025 - Wrong purity violation accessing the length of a fixed size array