You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's something problematic going on here. TypeMaps usually take a context as a
parameter, which becomes a private parameter acessor field. That parameter shadows
the mapCtx field inherited from TypeMap. `mapCtx` is a variable that is temporarily
mutated when mapping LazyRefs. But since it is shadowed, such mutations do not
affect code that is defined in the subclass of TypeMap.
One fix is to explicitly pass mapCtx to all code that is called from the maps.
That's what's done here for substituters. There might be other solutions as well,
which have to be tried out.
0 commit comments