We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a44e20a + 38c3062 commit c0b1278Copy full SHA for c0b1278
src/Nix/Exec.hs
@@ -301,7 +301,7 @@ callFunc fun arg = demand fun $ \fun' -> do
301
f arg
302
NVBuiltin name f -> do
303
span <- currentPos
304
- withFrame Info (Calling @m @t name span) (f arg)
+ withFrame Info (Calling @m @(NValue t f m) name span) (f arg)
305
s@(NVSet m _) | Just f <- M.lookup "__functor" m -> do
306
demand f $ (`callFunc` s) >=> (`callFunc` arg)
307
x -> throwError $ ErrorCall $ "Attempt to call non-function: " ++ show x
0 commit comments