Add InjectiveTypeFamilies language extension
authorJan Stolarek <jan.stolarek@p.lodz.pl>
Sat, 9 Jan 2016 19:58:52 +0000 (20:58 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sat, 9 Jan 2016 19:58:54 +0000 (20:58 +0100)
commitfbd6de2f0761b63a5f0a88ce0590f515d63790a4
treec3bf647973fb4b675731a27d15af9919cd29d9e2
parent5cb236dd6b497da0b9072b20ca74c298477f7a61
Add InjectiveTypeFamilies language extension

Previously injective type families were part of TypeFamilies.
Now they are in a separate language extension.

Test Plan: ./validate

Reviewers: austin, bgamari, goldfire

Reviewed By: bgamari

Subscribers: goldfire, thomie

Differential Revision: https://phabricator.haskell.org/D1750

GHC Trac Issues: #11381
24 files changed:
compiler/main/DynFlags.hs
compiler/typecheck/TcTyClsDecls.hs
compiler/typecheck/TcValidity.hs
docs/users_guide/glasgow_exts.rst
libraries/ghc-boot/GHC/LanguageExtensions.hs
testsuite/tests/driver/T11381.hs [new file with mode: 0644]
testsuite/tests/driver/T11381.stderr [new file with mode: 0644]
testsuite/tests/driver/T4437.hs
testsuite/tests/driver/all.T
testsuite/tests/ghci/scripts/T6018ghci.script
testsuite/tests/ghci/scripts/T6018ghcifail.script
testsuite/tests/ghci/scripts/T6018ghcirnfail.script
testsuite/tests/th/T6018th.hs
testsuite/tests/th/T8884.hs
testsuite/tests/typecheck/should_compile/T6018.hs
testsuite/tests/typecheck/should_compile/T6018.hs-boot
testsuite/tests/typecheck/should_compile/T6018a.hs
testsuite/tests/typecheck/should_fail/T10836.hs
testsuite/tests/typecheck/should_fail/T6018Afail.hs
testsuite/tests/typecheck/should_fail/T6018Bfail.hs
testsuite/tests/typecheck/should_fail/T6018fail.hs
testsuite/tests/typecheck/should_fail/T6018failclosed.hs
testsuite/tests/typecheck/should_fail/T6018failclosed2.hs
utils/mkUserGuidePart/Options/Language.hs