Declare BoundVariableDeclarations in the context.
Declare BoundVariableDeclarations in the context.

If a variable was needed in a function call to a function that could
not be resolved in an earlier pass, it was not declared again so the
function could still not be resolved in the later passes. Fix that.

JanDeVisser/obelix,JanDeVisser/obelix,JanDeVisser/obelix