1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 02:43:54 +02:00

Print value on type error

Adds the failing value to `value is <TYPE> while a <TYPE> is expected`
error messages.
This commit is contained in:
Rebecca Turner 2023-12-06 16:03:01 -08:00
parent b74ec56da9
commit cb7fbd4d83
No known key found for this signature in database
19 changed files with 227 additions and 136 deletions

View file

@ -7,4 +7,4 @@ error:
… while evaluating the first argument passed to builtins.length
error: value is an integer while a list was expected
error: expected a list but found an integer: 1