Just dropping this here as general feedback if any...
# development
c
Just dropping this here as general feedback if any one feels like picking it up (given they agree with me) This error message is phrased in such a way that it is easy to misinterpret, where the subject and adjective(?) are too disconnected:
Copy code
ResolveError: The address src/python/proj/app/lib:lib from the `dependencies` field of the target src/python/proj/app/name/__init__.py does not exist.
i.e. what is it that does not exist.. ? you almost have to read the sentence at least a few times to be sure that it is the
app/lib:lib
address, not the
name/__init__.py
file that is missing (at least for me, when English isn’t my first language)
As the address and the file names become longer it becomes increasingly difficult to make the correct connection, I think.
w
I think brackets around the address and target would actually go a long way. "The address (...) from the 'dependencies' field of the target (...) does not exist"
I would read that to mean the address doesn't exist
1
IF that's what's intended, you're right, it's a bit strangely worded: "The address (...) is missing from the
dependencies
field of target ..."
💯 1
c
Exactly, when you reduce the text down it becomes clearer, but the “does not exist” is too far away and disconnects from the subject it refers back to. So having “is missing” right next to it would improve it quite a bit, imho. 👍 🙂
👍 1
w
Yeah, feels like a subject-verb-object mismatch
b
This is good feedback.
❤️ 1