WIP: Add -no-base flag (#17791)
Packages below base
(integer-*, ghc-bignum) can't depend on base
. But GHC itself inserts references to some base
entities such as patError
. This MR adds a new command-line flag -no-base
used to avoid or to panic at compile time when such references are made.
This proved to be useful to fix !2231 (closed).