Commit 19f12557 authored by Committed by Ben Gamari
Fix ApplicativeDo regression #17835
A previous fix for #15344 made sure that monadic 'fail' is used properly when translating ApplicativeDo. However, it didn't properly account for when a 'fail' will be inserted which resulted in some programs failing with a type error.
Showing with 82 additions and 21 deletions