getField can throw assertion error if you ask for super types, use the field matched instead for fields from super types
Merge pull request #167 from scamden/patch-1

getField can throw assertion error