Fixed the ReportLeftRecursionPass to handle typed expressions correctly.