You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building happy with stack (stack build, using this fork), stack issues these warnings:
Warning: There were multiple candidates for the Cabal entry " Parser
* C:\stack\src\Parser.ly
picking: C:\stack\src\Parser.hs
Warning: There were multiple candidates for the Cabal entry " AttrGrammarParser
* C:\stack\src\AttrGrammarParser.ly
picking: C:\stack\src\AttrGrammarParser.hs
[1 of 2] Compiling Main ( C:\sr\setup-exe-src\setup-Z6RU0evB.hs, C:\sr\setup-exe-src\setup-Z6RU0evB.o )
How can I fix them?
The text was updated successfully, but these errors were encountered:
It seems like we should update the logic in Stack that maps module names to path names with the following tweak: if there are two files related to a module name, and they are identical except for a different file suffix, and one of them ends in .hs or .lhs, assume that it's autogenerated and ignore it. Alternatively, maybe track both of those files, and simply don't warn.
This should be a relatively straightforward change to the codebase, I'm labeling it as a newcomer friendly issue if someone wants to take a crack at it.
When building
happy
with stack (stack build
, using this fork),stack
issues these warnings:How can I fix them?
The text was updated successfully, but these errors were encountered: