Allow optional instance keyword in associated type family instances
authorTibor Erdesz <erdeszt@gmail.com>
Thu, 29 Jun 2017 23:37:13 +0000 (19:37 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 29 Jun 2017 23:38:16 +0000 (19:38 -0400)
commit007f255644f885d445e47e291e50eb12b5ecd08d
tree2d6269ea631c17096d9aefdf8b2551f667e0faed
parent6171b0b326e52221a0631cf75eb4866b36abe631
Allow optional instance keyword in associated type family instances

Add the missing branch for parsing the optional 'instance' keyword
in associated type family instance declarations.

Fixes #13747

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: simonpj, RyanGlScott, rwbarton, thomie, mpickering

Differential Revision: https://phabricator.haskell.org/D3673
compiler/parser/Parser.y
docs/users_guide/8.4.1-notes.rst
testsuite/tests/parser/should_compile/T13747.hs [new file with mode: 0644]
testsuite/tests/parser/should_compile/all.T