Make sure type literals aren't negative (#8306)
Make sure type literals aren't negative (#8306)

As Krzysztof pointed out in #8306, with NegativeLiterals and DataKinds,
definitions such as:

  type T = -1

were accepted, although type literals must be greater than zero.

Signed-off-by: Austin Seipp <7ea35d812706d9213868749011af1ed4fa2f6aa0@well-typed.com>

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