-
Notifications
You must be signed in to change notification settings - Fork 476
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
Plutus.V1.Ledger.Value uses OverloadedLists #4517
Comments
We are constantly hit by this bug. It's hard to reproduce as it seems to happen in incremental builds. Please don't use |
This is is resolved in master. |
@bezirg Could you please link to a PR/commit that fixed this issue? |
@KristianBalaj it is the commit 4e0d6ed . The file change is 4e0d6ed#diff-3b8075ee5603b10864a2c007bce39918b864164c81b94315607541f634203990 |
@KristianBalaj Do you still run into a similar issue and needs to be reopened? |
Summary
... and sometimes when GHC does (or doesn't) something the code using that module fails to compile:
cc @brunjlar
Steps to reproduce the behavior
write scripts. In case I see, GHC produces coercions from
[GHC.Exts.Item ...]
to[(CurrencySymbol, AssocMap TokenName Integer)]
. In other words, GHC doesn't see any reason to reduceItem
type-family as it is just an intermediate type.Actual Result
Expected Result
compilation works.
Describe the approach you would take to fix this
don't use
OverloadedLists
in plutus code.System info
The text was updated successfully, but these errors were encountered: