Propogate the semantic exception up during rewriting