fix(kernel/type_checker): use the application to provide error location
fix(kernel/type_checker): use the application to provide error location

Signed-off-by: Leonardo de Moura <7610bae85f2b530654cc716772f1fe653373e892@microsoft.com>

fgdorais/lean,avigad/lean,soonhokong/lean-windows,johoelzl/lean,avigad/lean,soonhokong/lean,htzh/lean,leodemoura/lean,leodemoura/lean,eigengrau/lean,javra/lean,rlewis1988/lean,htzh/lean,c-cube/lean,dselsam/lean,soonhokong/lean-osx,digama0/lean,Kha/lean,UlrikBuchholtz/lean,avigad/lean,fpvandoorn/lean2,eigengrau/lean,eigengrau/lean,leanprover-community/lean,dselsam/lean,levnach/lean,johoelzl/lean,htzh/lean,javra/lean,leanprover/lean,leodemoura/lean,leanprover-community/lean,htzh/lean,leanprover/lean,soonhokong/lean-windows,fgdorais/lean,Kha/lean,Kha/lean,fpvandoorn/lean,soonhokong/lean,Kha/lean,fgdorais/lean,UlrikBuchholtz/lean,levnach/lean,rlewis1988/lean,leanprover/lean,dselsam/lean,avigad/lean,soonhokong/lean-windows,Kha/lean,soonhokong/lean,javra/lean,leanprover-community/lean,leanprover/lean,sp3ctum/lean,leanprover/lean,digama0/lean,Kha/lean,levnach/lean,fpvandoorn/lean2,eigengrau/lean,javra/lean,digama0/lean,rlewis1988/lean,fgdorais/lean,avigad/lean,UlrikBuchholtz/lean,levnach/lean,sp3ctum/lean,fpvandoorn/lean,fgdorais/lean,c-cube/lean,javra/lean,rlewis1988/lean,sp3ctum/lean,leodemoura/lean,dselsam/lean,soonhokong/lean-osx,fpvandoorn/lean2,fpvandoorn/lean,c-cube/lean,levnach/lean,soonhokong/lean-windows,leanprover-community/lean,leanprover-community/lean,fgdorais/lean,avigad/lean,eigengrau/lean,soonhokong/lean-osx,sp3ctum/lean,johoelzl/lean,rlewis1988/lean,digama0/lean,dselsam/lean,leodemoura/lean,leodemoura/lean,rlewis1988/lean,soonhokong/lean-osx,soonhokong/lean,johoelzl/lean,UlrikBuchholtz/lean,fpvandoorn/lean,soonhokong/lean-windows,soonhokong/lean-osx,c-cube/lean,fpvandoorn/lean2,fpvandoorn/lean2,johoelzl/lean,johoelzl/lean,digama0/lean,leanprover/lean,leanprover-community/lean,soonhokong/lean,digama0/lean,dselsam/lean,fpvandoorn/lean,c-cube/lean,sp3ctum/lean,fpvandoorn/lean,UlrikBuchholtz/lean,htzh/lean