The goal is to improve beginner experience in Nix.
Go through Nix issues, move those related to error messages in our new repo.
Print the actual line with the error (and 2 before and 2 after) and point with a carot to the char producing the error.
Scope:
$ git grep EvalError | wc -l
84
For each error:
-
turn error into multi-line, with the gist of the error in the first line
-
followed by a blank line and explanations why this could happen and possibly how to fix it. If the explanation is too long, we can put an http link.
-
reword errors for easier understanding
The idea is for you to give a quote for the work involved, then I'll organize crowdfunding to help fund that.
For each noPos:
-
If we can acquire source position, do so
-
If not (since it's C++ code), try to log C++ position or at least some code/string