Skip to content

Commit

Permalink
remove outdated fixme comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aiverson committed Jan 22, 2024
1 parent 14384be commit ffc40c4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions testfile.alc
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,6 @@ let array-get =
lambda (T : prim-type, arr : (array-type T), index : prim-number)
let typed-arr-get = (prim-array-get T)
let (elem) = typed-arr-get(arr, index)
# 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 =
Expand Down

0 comments on commit ffc40c4

Please sign in to comment.