General summary/comments (optional)
Steps to reproduce
For example:
- hpack on wrong version
- run
stack build ... --file-watch
- get message stating
foo.cabal was generated with a newer version of hpack,
please upgrade and try again.
Success! Waiting for next file change
For reference, the code to be compiled included an obviously malformed line that should have triggered an error, yet a Success! was output:
qehww = ::
Expected
Stack build fails if hpack is not correct
Actual
Stack version
stack --version
Version 2.9.1, Git revision 13c9c8772a6dce093dbeacc08bb5877bdb6cfc2e (dirty) (155 commits) aarch64
Method of installation
Platform
macOS M1 v 12.6.3