Egregious bug in tcLHsConResTy
Egregious bug in tcLHsConResTy

This terrible bug in tcLHsConTy is pretty much guaranteed to show up
on an program involving a GADT with more than one type parameter.

This bug isn't present in the STABLE branch.

Manuel: it is *not* necesary to merge this patch into the FC branch; 
just ignore it.


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