Now that we're correctly tracking diagnostic code in its own field, also embedding it in source is redundant and can result in the editor showing a diagnostic's code twice, e.g. glint:ts(2345)(2345).
This change simplifies the source to just glint (dropping the ts: part, since we don't invent our own error codes apart from TypeScript's), allowing the editor to construct the tag as e.g. glint(2345) itself.
Now that we're correctly tracking diagnostic
code
in its own field, also embedding it insource
is redundant and can result in the editor showing a diagnostic's code twice, e.g.glint:ts(2345)(2345)
.This change simplifies the source to just
glint
(dropping thets:
part, since we don't invent our own error codes apart from TypeScript's), allowing the editor to construct the tag as e.g.glint(2345)
itself.