fix Issue 10486 - Segfault on assigning `typeof(null)` to static array
Merge pull request #2263 from 9rnsr/fix10486

[REG2.063] Issue 10486 - Segfault on assigning `typeof(null)` to static array