-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failure to build text-1.2.2.2 and text-1.2.3.1 #37
Comments
Perhaps the problem is related to #36? |
Hi and thanks for the detailed report:
|
It was shown that The errors in the build for Data/Text/Lazy/Builder/Int.hs:247:55: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at Data/Text/Lazy/Builder/Int.hs:17:8-33
(and originally defined in ‘GHC.Base’)
or ‘Data.Text.Internal.Builder.Functions.<>’,
imported from ‘Data.Text.Internal.Builder.Functions’ at Data/Text/Lazy/Builder/Int.hs:26:46-49
(and originally defined
at Data/Text/Internal/Builder/Functions.hs:37:1-4)
|
247 | PAIR(x,y) -> pblock q <> pblock r <> putB ns
| ^^
Data/Text/Lazy/Builder/Int.hs:260:40: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at Data/Text/Lazy/Builder/Int.hs:17:8-33
(and originally defined in ‘GHC.Base’)
or ‘Data.Text.Internal.Builder.Functions.<>’,
imported from ‘Data.Text.Internal.Builder.Functions’ at Data/Text/Lazy/Builder/Int.hs:26:46-49
(and originally defined
at Data/Text/Internal/Builder/Functions.hs:37:1-4)
|
260 | | otherwise = loop (d-1) q <> hexDigit r which can be fixed by making |
I've replicated and reported the |
Thank you; bumping the
|
@joshsh Can you file a request on |
I encountered a build failure in a project with a
text-1.2.3.1
dependency, and I was able to reproduce the problem by simply adding atext-1.2.2.2
dependency to the fatjar example:I encounter distinct errors the first time I run
./gradlew shadowJar --info
(after clearing the Gradle cache) vs. the second time I run it. Output for both scenarios is below. Below these is a third run in which I have changed thetext
dependency to1.2.3.1
. First, the Gradle version:First run:
Second run:
Third run (text-1.2.3.1):
The text was updated successfully, but these errors were encountered: