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

Crash in type argument removal: unsupported node #3096

Closed
lukaszcz opened this issue Oct 9, 2024 · 3 comments
Closed

Crash in type argument removal: unsupported node #3096

lukaszcz opened this issue Oct 9, 2024 · 3 comments
Assignees
Milestone

Comments

@lukaszcz
Copy link
Collaborator

lukaszcz commented Oct 9, 2024

Check out commit 7439f2f1c558cda946111befa5ffac91bf948b6d from juvix-stdlib, go to test and run:

make test

The result:

juvix: remove type arguments: unsupported node
	(? lambda_304@Test!304@Test lambda_507@Test!507@Test [email protected]) Bool
CallStack (from HasCallStack):
  error, called at src/Juvix/Prelude/Base/Foundation.hs:501:9 in juvix-0.6.6-Es9DwLRPTtLIIl9tezES8s:Juvix.Prelude.Base.Foundation
  error, called at src/Juvix/Compiler/Core/Transformation/RemoveTypeArgs.hs:16:24 in juvix-0.6.6-Es9DwLRPTtLIIl9tezES8s:Juvix.Compiler.Core.Transformation.RemoveTypeArgs
@paulcadman
Copy link
Collaborator

This is usually caused by the quickcheck dependency using a different copy of the standard library. I think it's related to:

@paulcadman
Copy link
Collaborator

This is usually caused by the quickcheck dependency using a different copy of the standard library. I think it's related to:

Updating all of the stdlib test dependencies to use the same stdlib ref fixes this issue. Therefore this bug is indeed caused by #2985 and Is not a separate bug in the pipeline.

@lukaszcz
Copy link
Collaborator Author

I'll close the issue then

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

No branches or pull requests

2 participants