Fix the __GLASGOW_HASKELL__ comparison
authorKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Thu, 30 Aug 2018 13:34:39 +0000 (15:34 +0200)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Thu, 30 Aug 2018 13:34:39 +0000 (15:34 +0200)
commit97826e343c482f1c2fb7c74fbbe6958682608ac7
tree5fc1e38ee543ad6530eb92cf5bf70dd331ebaae0
parentf48e276a5ba68d8b6fcb4a558022581fb30f9326
Fix the __GLASGOW_HASKELL__ comparison

Summary:
GHC 8.4 corresponds to 804, not 840.

Found by Gabor Greif.

Test Plan: Harbormaster

Reviewers: ggreif, bgamari, mpickering

Reviewed By: ggreif

Subscribers: rwbarton, carter

Differential Revision: https://phabricator.haskell.org/D5064
compiler/iface/MkIface.hs
compiler/main/Plugins.hs