'Maybe you forgot to use "await"?' has wrong error code #16202
Labels
bug
mypy got something wrong
topic-async
async, await, asyncio
topic-error-reporting
How we report errors
Mypy produces an error code of "attr-defined" (correctly) and produced a note that is also correct, but apparently the note has the "misc" error code instead of "attr-defined".
Tried on current master with Python 3.11.
The text was updated successfully, but these errors were encountered: