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

Holes don't work #13

Open
jonsterling opened this issue Jul 13, 2022 · 0 comments · May be fixed by #14
Open

Holes don't work #13

jonsterling opened this issue Jul 13, 2022 · 0 comments · May be fixed by #14

Comments

@jonsterling
Copy link
Contributor

Try the following code:

def _ : univ := ?

The result is some error:

dune exec algaett test.ag
Fatal error: exception Invalid_argument("app_ulvl")
Raised at Stdlib__Effect.Deep.try_with.(fun) in file "effect.ml", line 69, characters 47-54
Called from Loader.load in file "src/loader/Loader.ml", line 17, characters 21-78
Called from Dune__exe__Main in file "src/bin/Main.ml", line 3, characters 9-41

I never ran the code that builds holes, and this code is itself very subtle (in part b/c of the handling of universe polymorphism, which we are hitting here). So this should be debugged.

@jonsterling jonsterling linked a pull request Jul 13, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant