Merge pull request #1683 from 9rnsr/fix9536

[REG2.059] Issue 9536 - IFTI fails when calling a static member from const member