aboutsummaryrefslogtreecommitdiffstats
path: root/llvm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm.cpp')
-rw-r--r--llvm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm.cpp b/llvm.cpp
index 1f4c58e..fc369b8 100644
--- a/llvm.cpp
+++ b/llvm.cpp
@@ -239,7 +239,8 @@ AFn::liftCall(CEnv& cenv, const AType& argsT)
// Apply substitution to get concrete type for this call
thisType = argsSubst.apply(thisType)->as<AType*>();
if (!thisType->concrete())
- throw Error(loc, "unable to resolve concrete type for function");
+ throw Error(loc, string("unable to resolve concrete type for function :: ")
+ + thisType->str());
}
Object::pool.addRoot(thisType);