`-ddump-ds-preopt` does nothing in GHCi.
Funnily enough -ddump-ds does work in GHCi.
I assume the core goes through a different code path for desugaring for GHCi resulting in the check for -ddump-ds-preopt being skipped.
Due to a large amount of spam we do not allow new users to create repositories, they are "external" users. If you are a new user and want to create a repository, for example for forking GHC, open a new issue on ghc/ghc using the "get-verified" issue template
Funnily enough -ddump-ds does work in GHCi.
I assume the core goes through a different code path for desugaring for GHCi resulting in the check for -ddump-ds-preopt being skipped.