Since we didn't have tests covering inheritance using a variable, and this isn't a very common use-case, I'm breaking this on purpose to fix multiple contexts instead. A refactor will be needed to properly support inheritance using a variable while keeping multiple contexts support.