Add error check for operators in types
Add error check for operators in types

Fixes Trac #919


fmthoma/ghc,GaloisInc/halvm-ghc,nushio3/ghc,mfine/ghc,ghc-android/ghc,lukexi/ghc,olsner/ghc,nathyong/microghc-ghc,vTurbine/ghc,oldmanmike/ghc,oldmanmike/ghc,oldmanmike/ghc,ekmett/ghc,nkaretnikov/ghc,tibbe/ghc,ezyang/ghc,snoyberg/ghc,wxwxwwxxx/ghc,gridaphobe/ghc,gcampax/ghc,holzensp/ghc,AlexanderPankiv/ghc,lukexi/ghc-7.8-arm64,mettekou/ghc,elieux/ghc,ghc-android/ghc,TomMD/ghc,anton-dessiatov/ghc,spacekitteh/smcghc,green-haskell/ghc,christiaanb/ghc,gcampax/ghc,lukexi/ghc,urbanslug/ghc,ryantm/ghc,christiaanb/ghc,vikraman/ghc,siddhanathan/ghc,ghc-android/ghc,TomMD/ghc,nkaretnikov/ghc,lukexi/ghc-7.8-arm64,olsner/ghc,acowley/ghc,forked-upstream-packages-for-ghcjs/ghc,forked-upstream-packages-for-ghcjs/ghc,snoyberg/ghc,jstolarek/ghc,bitemyapp/ghc,christiaanb/ghc,tjakway/ghcjvm,shlevy/ghc,sgillespie/ghc,bitemyapp/ghc,ryantm/ghc,hferreiro/replay,frantisekfarka/ghc-dsi,anton-dessiatov/ghc,vikraman/ghc,spacekitteh/smcghc,ml9951/ghc,urbanslug/ghc,acowley/ghc,sdiehl/ghc,tjakway/ghcjvm,ekmett/ghc,nushio3/ghc,mfine/ghc,ezyang/ghc,TomMD/ghc,nomeata/ghc,GaloisInc/halvm-ghc,tjakway/ghcjvm,vikraman/ghc,AlexanderPankiv/ghc,nomeata/ghc,AlexanderPankiv/ghc,nkaretnikov/ghc,nkaretnikov/ghc,olsner/ghc,spacekitteh/smcghc,mcschroeder/ghc,mcschroeder/ghc,oldmanmike/ghc,oldmanmike/ghc,nkaretnikov/ghc,tjakway/ghcjvm,elieux/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,ml9951/ghc,frantisekfarka/ghc-dsi,tibbe/ghc,gcampax/ghc,gcampax/ghc,ilyasergey/GHC-XAppFix,nathyong/microghc-ghc,ml9951/ghc,mcmaniac/ghc,siddhanathan/ghc,vikraman/ghc,siddhanathan/ghc,hferreiro/replay,shlevy/ghc,shlevy/ghc,ml9951/ghc,ekmett/ghc,forked-upstream-packages-for-ghcjs/ghc,sdiehl/ghc,sdiehl/ghc,elieux/ghc,oldmanmike/ghc,ilyasergey/GHC-XAppFix,sgillespie/ghc,mcmaniac/ghc,acowley/ghc,mfine/ghc,lukexi/ghc,sdiehl/ghc,da-x/ghc,vTurbine/ghc,ghc-android/ghc,nathyong/microghc-ghc,nathyong/microghc-ghc,urbanslug/ghc,nathyong/microghc-ghc,AlexanderPankiv/ghc,gcampax/ghc,mcschroeder/ghc,lukexi/ghc-7.8-arm64,gcampax/ghc,hferreiro/replay,anton-dessiatov/ghc,fmthoma/ghc,mettekou/ghc,nomeata/ghc,siddhanathan/ghc,da-x/ghc,mettekou/ghc,mettekou/ghc,sgillespie/ghc,ezyang/ghc,fmthoma/ghc,sgillespie/ghc,christiaanb/ghc,snoyberg/ghc,green-haskell/ghc,ryantm/ghc,AlexanderPankiv/ghc,spacekitteh/smcghc,jstolarek/ghc,acowley/ghc,holzensp/ghc,wxwxwwxxx/ghc,nathyong/microghc-ghc,nushio3/ghc,christiaanb/ghc,siddhanathan/ghc,hferreiro/replay,snoyberg/ghc,tjakway/ghcjvm,gridaphobe/ghc,forked-upstream-packages-for-ghcjs/ghc,ryantm/ghc,bitemyapp/ghc,green-haskell/ghc,nushio3/ghc,shlevy/ghc,lukexi/ghc-7.8-arm64,green-haskell/ghc,elieux/ghc,siddhanathan/ghc,urbanslug/ghc,sgillespie/ghc,fmthoma/ghc,christiaanb/ghc,lukexi/ghc,bitemyapp/ghc,wxwxwwxxx/ghc,lukexi/ghc-7.8-arm64,ilyasergey/GHC-XAppFix,TomMD/ghc,mcschroeder/ghc,snoyberg/ghc,mettekou/ghc,ml9951/ghc,mcmaniac/ghc,nathyong/microghc-ghc,snoyberg/ghc,da-x/ghc,fmthoma/ghc,forked-upstream-packages-for-ghcjs/ghc,ghc-android/ghc,bitemyapp/ghc,mettekou/ghc,tjakway/ghcjvm,spacekitteh/smcghc,jstolarek/ghc,lukexi/ghc,nomeata/ghc,hferreiro/replay,GaloisInc/halvm-ghc,anton-dessiatov/ghc,gridaphobe/ghc,gcampax/ghc,holzensp/ghc,holzensp/ghc,wxwxwwxxx/ghc,hferreiro/replay,TomMD/ghc,vikraman/ghc,jstolarek/ghc,fmthoma/ghc,ghc-android/ghc,GaloisInc/halvm-ghc,mcmaniac/ghc,mcmaniac/ghc,gridaphobe/ghc,vikraman/ghc,da-x/ghc,nushio3/ghc,TomMD/ghc,olsner/ghc,vTurbine/ghc,sdiehl/ghc,shlevy/ghc,frantisekfarka/ghc-dsi,sdiehl/ghc,acowley/ghc,snoyberg/ghc,fmthoma/ghc,ekmett/ghc,hferreiro/replay,nushio3/ghc,vikraman/ghc,wxwxwwxxx/ghc,shlevy/ghc,urbanslug/ghc,acowley/ghc,shlevy/ghc,ryantm/ghc,elieux/ghc,tjakway/ghcjvm,sdiehl/ghc,christiaanb/ghc,ezyang/ghc,mfine/ghc,mettekou/ghc,oldmanmike/ghc,gridaphobe/ghc,ilyasergey/GHC-XAppFix,forked-upstream-packages-for-ghcjs/ghc,mfine/ghc,ezyang/ghc,nushio3/ghc,da-x/ghc,da-x/ghc,ezyang/ghc,ghc-android/ghc,gridaphobe/ghc,mcschroeder/ghc,olsner/ghc,mcschroeder/ghc,anton-dessiatov/ghc,da-x/ghc,anton-dessiatov/ghc,frantisekfarka/ghc-dsi,siddhanathan/ghc,GaloisInc/halvm-ghc,vTurbine/ghc,green-haskell/ghc,acowley/ghc,ezyang/ghc,ml9951/ghc,vTurbine/ghc,tibbe/ghc,holzensp/ghc,vTurbine/ghc,tibbe/ghc,urbanslug/ghc,nkaretnikov/ghc,forked-upstream-packages-for-ghcjs/ghc,elieux/ghc,nkaretnikov/ghc,urbanslug/ghc,ml9951/ghc,olsner/ghc,elieux/ghc,ekmett/ghc,mcschroeder/ghc,vTurbine/ghc,AlexanderPankiv/ghc,tibbe/ghc,olsner/ghc,ml9951/ghc,anton-dessiatov/ghc,frantisekfarka/ghc-dsi,AlexanderPankiv/ghc,gridaphobe/ghc,nomeata/ghc,jstolarek/ghc,wxwxwwxxx/ghc,GaloisInc/halvm-ghc,TomMD/ghc,mfine/ghc,mfine/ghc,sgillespie/ghc,wxwxwwxxx/ghc