It seems that the chompRest definition in let expression in sequenceEndForbidden method is unused and unnecessary. I don't know though if this is an incomplete implementation of some edge case I'm not aware of, or incomplete cleanup after some refactoring.