Skip to content

Commit

Permalink
cloudfix
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Jan 15, 2024
1 parent 1535c76 commit b4d7c03
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions testfile.alc
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ let array-get =
# FIXME:
# This type check fails because elem is referring to a placeholder from inside the typed-arr-get lambda
# which is invalid, it should have been substituted
# someone with a working lua debugger pls fix
# it should be possible to step into the `inferrable_term:is_annotated() then` case in evalator
# corresponding to this `the` operative and figure out why the elem side's type is referring to a placeholder from inside typed-arr-get
# the expected behavior is for T to be the placeholder from line 89, and for elem's type to get substituted and end up as exactly the same placeholder
# resulting in successful typecheck
(the T elem)
let array-new =
lambda ((T : prim-type))
Expand Down

0 comments on commit b4d7c03

Please sign in to comment.