mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +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:
parent
b74ec56da9
commit
cb7fbd4d83
19 changed files with 227 additions and 136 deletions
|
@ -38,5 +38,5 @@ error:
|
|||
| ^
|
||||
5|
|
||||
|
||||
error: value is a set while a string was expected
|
||||
error: expected a string but found a set
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue