diff options
Diffstat (limited to 'llvm.cpp')
-rw-r--r-- | llvm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |