agda2hs icon indicating copy to clipboard operation
agda2hs copied to clipboard

Imports of modules that have current module name as prefix are dropped silently

Open jespercockx opened this issue 7 months ago • 0 comments

If I have a module AAA that imports another module AAABBB, then this import is dropped from the generated Haskell code. The cause is located here: https://github.com/agda/agda2hs/blob/0fc20ccd031a07c848824fc125839b4d91e35667/src/Agda2Hs/Compile/Imports.hs#L28

(Git blame tells me I have no-one to blame except for myself.)

jespercockx avatar Jul 11 '24 15:07 jespercockx