algaett icon indicating copy to clipboard operation
algaett copied to clipboard

Holes don't work

Open jonsterling opened this issue 3 years ago • 0 comments

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 avatar Jul 13 '22 06:07 jonsterling