Add an extra error check in DEBUG mode for ill-typed unfoldings
Add an extra error check in DEBUG mode for ill-typed unfoldings

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