Open noahyor opened 1 week ago
Why is docspec failing with such a strange error message? It compiled just fine the first time through.
@noahyor what does this library
do?
I am no wiser from the Cabal message. Did you try running Docspec yourself?
Just out of curiosity, even if do recognize it a library this way, it wouldn't really work as a library because there no exposed modules, right?
No, you can import modules from the other libraries like swarm-lang
that are marked as public. The point is that because of a Cabal bug it will not let you import anything at all from a package unless it has a default "main" library.
It seems like docspec
does not like having an empty library component? I'm not sure...
Ah I see. Thanks a lot! I wasn't aware of that bug.
Allow Cabal to recognize swarm as a library.
Closes #1964.