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

roc debug compiler triggers assert during glue generation #242

Open
Anton-4 opened this issue Aug 9, 2024 · 1 comment
Open

roc debug compiler triggers assert during glue generation #242

Anton-4 opened this issue Aug 9, 2024 · 1 comment

Comments

@Anton-4
Copy link
Collaborator

Anton-4 commented Aug 9, 2024

This needs to be investigated, use the debug compiler by replacing rocPkgs.cli in your flake.nix with rocPkgs.cli-debug and run ./jump-start.sh.

 + roc glue glue.roc crates ./platform/main.roc
thread 'main' panicked at crates/glue/src/types.rs:2225:5:
assertion `left == right` failed: glue_procs_by_layout for Layout { repr: Direct(Struct([InLayout(33), InLayout(37)])), semantic: None } was None, but the layout cache said its has_varying_stack_size was true
  left: false
 right: true
@Anton-4
Copy link
Collaborator Author

Anton-4 commented Aug 10, 2024

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

No branches or pull requests

1 participant