Report type errors for definitions