Skip to content
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

Can't use OverloadedRecordDot when extracting the "data" field from PTxInfo #369

Closed
MangoIV opened this issue Mar 9, 2022 · 1 comment
Closed
Labels
api bug Something isn't working

Comments

@MangoIV
Copy link
Collaborator

MangoIV commented Mar 9, 2022

Problem

data is a reserved word in Haskell and hence you can't do something like txInfo.data without the Parser complaining.

Solution

Perhaps rename to data' or dataMap?

@MangoIV MangoIV added bug Something isn't working api labels Mar 9, 2022
@blamario
Copy link
Collaborator

That's probably why Plutus keeps calling it datum.

@TotallyNotChase TotallyNotChase linked a pull request Apr 8, 2022 that will close this issue
@L-as L-as closed this as completed Apr 19, 2022
@L-as L-as removed a link to a pull request Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants