Missing compilationContext in getVariableForRead