There was a typo in the dialect conversion: `RewriterBase::Listener` should be used instead of `ForwardingListener`.