While working on https://github.com/dhall-lang/dhall-haskell, I've run into a weird issue where cabal run -O0 seems to use an executable that doesn't incorporate the latest source changes. Without the -O0 flag, cabal run behaves as expected.
Is this a known issue?
System information
$ cabal --version
cabal-install version 3.2.0.0
compiled using version 3.2.0.0 of the Cabal library