Merge pull request #2101 from 9rnsr/fix10212

[REG2.061] Issue 10212 - Segfault in mismatching delegate literal types