Fix a bug in nested context code that occured when calling a function nested in

the outermost scope with a context frame from a function using a more nested
context frame.
This commit is contained in:
Frits van Bommel
2009-04-13 12:19:18 +02:00
parent 5a04c4e9a1
commit 376a825075
3 changed files with 51 additions and 5 deletions

View File

@@ -452,6 +452,7 @@ DValue* DtoCallFunction(Loc& loc, Type* resulttype, DValue* fnval, Expressions*
if (Logger::enabled())
{
Logger::cout() << "arg: " << *arg << '\n';
Logger::cout() << "of type: " << *arg->getType() << '\n';
Logger::cout() << "expects: " << *callableTy->getParamType(j) << '\n';
}
#endif