fix Issue 10618 - Template instance member access disallowed in dynamic array allocation
fix Issue 10609 - Refused UFCS in __traits(compile)
Merge pull request #2337 from 9rnsr/fix10609

Issue 10609 - Refused UFCS in __traits(compile)