fix Issue 9837 - IFTI should consider enum base type