this commit correct E0502 error text. See referenced issue for further info
Fixes #36112. Part of #35233. r? @jonathandturner