Skip to content

Commit c0b1278

Browse files
authored
Merge pull request #760 from layus/fix-renderFrame
Fix rendering of builtin call frames
2 parents a44e20a + 38c3062 commit c0b1278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nix/Exec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ callFunc fun arg = demand fun $ \fun' -> do
301301
f arg
302302
NVBuiltin name f -> do
303303
span <- currentPos
304-
withFrame Info (Calling @m @t name span) (f arg)
304+
withFrame Info (Calling @m @(NValue t f m) name span) (f arg)
305305
s@(NVSet m _) | Just f <- M.lookup "__functor" m -> do
306306
demand f $ (`callFunc` s) >=> (`callFunc` arg)
307307
x -> throwError $ ErrorCall $ "Attempt to call non-function: " ++ show x

0 commit comments

Comments
 (0)