fix Issue 13465 - Segfault by eager semantic2 running in template instantiation
Merge pull request #4024 from 9rnsr/fix13465

Issue 13465 - Segfault by eager semantic2 running in template instantiation