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
The template completion logic checked to see if the cursor position was
inside a logical {{ }} block, but the boundary conditions in the
relevant checks was wrong: in one case, a panic would occur if the
cursor was in between the pair of left braces. In another, it would
panic even if the cursor was at the start of a pair of left braces.
Fix the boundary conditions, with a test.
Fixesgolang/go#57621
Change-Id: I826349906ee1ae67b2c5378e1b59d56e94c14fb2
Reviewed-on: https://go-review.googlesource.com/c/tools/+/622875
Auto-Submit: Robert Findley <[email protected]>
Reviewed-by: Alan Donovan <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
0 commit comments