Parameters of injected functions in metaclasses refer to the wrong the declarations when applied. See `test/CXX/meta/value.cpp` for an example. It's likely that we're not updating the context correctly when instantiating the new parameters.