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

Unroll gets into infinite loop on [SomeType] #6163

Closed
uhbif19 opened this issue May 31, 2024 · 0 comments · Fixed by #6165
Closed

Unroll gets into infinite loop on [SomeType] #6163

uhbif19 opened this issue May 31, 2024 · 0 comments · Fixed by #6165

Comments

@uhbif19
Copy link

uhbif19 commented May 31, 2024

Summary

This seems like unintended behavior because:

  1. AssocMap uses lists, so they probably should work
  2. There is instance of HasSchema for [x] provided

Steps to reproduce the behavior

Compile:

definitions :: Definitions (Unroll [Integer])
definitions = error "TODO"

Same for deriveDefinitions @'[[Integer]]

Actual Result

Typechecking fails with error like Reduction stack overflow; ...

Expected Result

Type-checking does not fail.

Describe the approach you would take to fix this

No response

System info

plutus-tx 1.27.0.0

GHC 9.6.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants