#10396: ApiAnnotatons : AnnDcolon in wrong place for PatBind -------------------------------------+------------------------------------- Reporter: alanz | Owner: alanz Type: bug | Status: patch Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.10.1 (Parser) | Keywords: Resolution: | ApiAnnotations Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Alan Zimmerman <alan.zimm@…>): In [changeset:"c488da851c39ca202cdd056091176acbabdd7dd4/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="c488da851c39ca202cdd056091176acbabdd7dd4" ApiAnnotatons : AnnDcolon in wrong place for PatBind Summary: In the following code fragment let ls :: Int = undefined the `::` is attached to the ls function as a whole, rather than to the pattern on the LHS. Test Plan: ./validate Reviewers: hvr, austin Reviewed By: austin Subscribers: bgamari, thomie, mpickering Differential Revision: https://phabricator.haskell.org/D883 GHC Trac Issues: #10396 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10396#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler