Skip to content

Commit eb9b882

Browse files
committed
Choose correct index for AlwaysLinkDetection.
1 parent 6cb01a1 commit eb9b882

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/ParallelTypeCheckingTests/Code/DependencyResolution.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ let mkGraph (files: FileWithAST array) : Graph<int> =
216216

217217
let filesWithAutoOpen =
218218
Array.choose
219-
(fun (f, _) ->
219+
(fun (f, idx) ->
220220
if AlwaysLinkDetection.doesFileHasAutoOpenBehavior f.AST then
221-
Some f.Idx
221+
Some idx
222222
else
223223
None)
224224
trieInput

0 commit comments

Comments
 (0)