Skip to content

Commit 4b14106

Browse files
committed
Type.Infer: MonadEval: evalAbs: m refactor
1 parent 055cc61 commit 4b14106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nix/Type/Infer.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ instance MonadInfer m => MonadEval (Judgment s) (InferT s m) where
553553
call = k arg $ \args b -> (args, ) <$> b
554554
names = fst <$> js
555555

556-
(args, Judgment as cs t) <- foldr (\(_, TVar a) -> extendMSet a) call js
556+
(args, Judgment as cs t) <- foldr (extendMSet . (\ (TVar a) -> a) . snd) call js
557557

558558
ty <- foldInitializedWith (TSet variadic) inferredType id args
559559

0 commit comments

Comments
 (0)