Entering }
when cursor is left of a }
shouldn't overwrite it
#45820
Labels
}
when cursor is left of a }
shouldn't overwrite it
#45820
From @willfaught on March 7, 2018 7:52
Start with this:
Now, SyntaxImag changes from
type SyntaxImag string
totype SyntaxImag struct { Text string }
, so you must update the code to this:So, you insert the
&
and replace the(
with a{Text:
. Now you have:Finally, you go to replace the
)
with}
, but you end up with:which is unexpected and invalid syntax.
Copied from original issue: microsoft/vscode-go#1563
The text was updated successfully, but these errors were encountered: