fix Issue 11181 - Missing compile-time error for wrong array literal
Merge pull request #3583 from 9rnsr/fix11181

Issue 11181 - Missing compile-time error for wrong array literal
fix Issue 12436 - Opaque struct parameter type should not be allowed