lift loop in expr ctx in a method