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 related to missing name in name signature #3074

Closed
janmasrovira opened this issue Sep 30, 2024 · 0 comments · Fixed by #3075
Closed

Crash related to missing name in name signature #3074

janmasrovira opened this issue Sep 30, 2024 · 0 comments · Fixed by #3075
Assignees

Comments

@janmasrovira
Copy link
Collaborator

module bug;

type T := mkT;

fun {_ : T} : {A : Type} -> T := mkT;

x : T := fun@{A := T};

typechecking the above gives

juvix: (^?!): empty Fold
CallStack (from HasCallStack):
  error, called at src/Control/Lens/Fold.hs:1315:28 in lens-5.2.3-D5GlV5Um12X6NDUMVTaXJq:Control.Lens.Fold
  ^?!, called at src/Juvix/Compiler/Internal/Translation/FromConcrete/NamedArguments.hs:207:54 in juvix-0.6.6-IA4XJn6GhdOJDSjvPUJz6T:Juvix.Compiler.Internal.Translation.FromConcrete.NamedArguments
@janmasrovira janmasrovira self-assigned this Sep 30, 2024
@janmasrovira janmasrovira linked a pull request Oct 1, 2024 that will close this issue
paulcadman pushed a commit that referenced this issue Oct 3, 2024
- Fixes #3074

- Merge after #3076

---------

Co-authored-by: Łukasz Czajka <62751+lukaszcz@users.noreply.github.com>
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.

1 participant