Tuples cannot contain unboxed types
Tuples cannot contain unboxed types

This bug allowed, for example

  f = let x = ( 1#, 'x' ) in x

which is ill-typed because you can't put an unboxed value in a tuple.
Core Lint fails on this program.

The patch makes the program be rejcted up-front.



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