fix Issue 10005 - struct variable declaration and const-correctness
fix Issue 10047 - opDispatch instantiation failure should be gagged for UFCS
Merge pull request #1981 from 9rnsr/fix10047

[REG2.063a] Issue 10047 - opDispatch instantiation failure should be gagged for UFCS
Merge pull request #1948 from 9rnsr/fix10005

Issue 10005 - struct variable declaration and const-correctness