fix Issue 12122 - Template with enumerated constant length array causes error
Merge pull request #3242 from 9rnsr/fix12122

Issue 12122 - Template with enumerated constant length array causes error