https://pantsbuild.org/ logo
#development
Title
# development
c

curved-television-6568

09/26/2022, 2:48 PM
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

wide-midnight-78598

09/26/2022, 2:50 PM
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

curved-television-6568

09/26/2022, 2:56 PM
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

wide-midnight-78598

09/26/2022, 3:05 PM
Yeah, feels like a subject-verb-object mismatch
b

busy-vase-39202

09/26/2022, 4:30 PM
This is good feedback.
❤️ 1