Skip to content

Commit 38c3062

Browse files
committed
Fix rendering of builtin call frames
1 parent 6bc278c commit 38c3062

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
@@ -302,7 +302,7 @@ callFunc fun arg = demand fun $ \fun' -> do
302302
f arg
303303
NVBuiltin name f -> do
304304
span <- currentPos
305-
withFrame Info (Calling @m @t name span) (f arg)
305+
withFrame Info (Calling @m @(NValue t f m) name span) (f arg)
306306
s@(NVSet m _) | Just f <- M.lookup "__functor" m -> do
307307
traceM "callFunc:__functor"
308308
demand f $ (`callFunc` s) >=> (`callFunc` arg)

0 commit comments

Comments
 (0)