Skip to content
  • Simon Marlow's avatar
    ApplicativeDo: handle BodyStmt (#12143) · 41f90559
    Simon Marlow authored
    Summary:
    It's simple to treat BodyStmt just like a BindStmt with a wildcard
    pattern, which is enough to fix #12143 without going all the way to
    using `<*` and `*>` (#10892).
    
    Test Plan:
    * new test cases in `ado004.hs`
    * validate
    
    Reviewers: niteria, simonpj, bgamari, austin, erikd
    
    Subscribers: rwbarton, thomie
    
    GHC Trac Issues: #12143
    
    Differential Revision: https://phabricator.haskell.org/D4128
    41f90559