Fix recursive import check and add test cases
#131 (closed)
FixesThis fixes the dependency check for recursively imported modules, e.g.
module Recursive where
import Recursive
which now generates the correct error message, along with span information
.../src/Recursive.curry:1:8-1:16 Error:
Recursive import for module Recursive
|
1 | module Recursive where
| ^^^^^^^^^
ERROR occurred during parsing!