Issue 9837 - IFTI should consider enum base type

http://d.puremagic.com/issues/show_bug.cgi?id=9837