You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By the way, my guess is that the answer is "no" (the spec only gives an example, which is a literal string, and I suspect no tool implements more than that). In that case, I would suggest that, analogous to Text annotations, one can embed "%name" in the message to achieve the above.
I agree with the analysis that it is not currently intended.
I would prefer not to have that, but let tools automatically handle that (=instance name as part of diagnostics) when needed.
The reason is that there are sometimes multiple outer components referring to the same missing inner components, and in that case having "there is no inner declaration corresponding to comp1.world", "there is no inner declaration corresponding to comp2.world", "there is no inner declaration corresponding to comp2.a[1].world", etc. would be annoying.
A tool can in a better way collect them.
Clarify that tool is expected to give context for the error message, thus there is no problem with restricting missingInnerMessage to a literal string.
Is the value of the missingInnerMessage annotation restricted to a literal string, or may one write something like:
The text was updated successfully, but these errors were encountered: