This repository was archived by the owner on Apr 25, 2020. It is now read-only.

Description
ghc-modi version 4.1.3
I noticed in this project some inconsistent behavior of ghc-modi (ghc-mod is doing fine):
https://github.com/rikvdkleij/Quicksort
To describe how to reproduce is difficult because it's not predictable. Try something like this:
1 - Make a syntax error in src/Quicksort.hs by removing space between module and Quicksort on first line (ghc-modi gives "parse error on input 'where'").
2 - Check test/QuicksortSpec.hs, ghc-modi gives "File name does not match module........".
3 - Go back to src/Quicksort.hs. Fix it and check it.
4 - Check test/QuicksortSpec.hs.
5 - Repeat step 1. Now same error appears as for test/QuicksortSpec.hs in 2. (ghc-mod stil gives parse error)
Hope this helps.
Regards,
Rik