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
{{ message }}
Repository navigation
text/template: quoted "*/" within a /*...*/ comment terminates the comment #70366
changed the title [-]text/template: Annotation parsing error, annotation symbols within the string should not be parsed[/-][+]text/template: quoted "*/" within a /*...*/ comment terminates the comment[/+]on Nov 15, 2024
Activity
gabyhelp commentedon Nov 15, 2024
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
adonovan commentedon Nov 15, 2024
Is this actually a bug? The Go scanner works in the exact same way:
https://go.dev/play/p/PCwzdxqPyD9
[-]text/template: Annotation parsing error, annotation symbols within the string should not be parsed[/-][+]text/template: quoted "*/" within a /*...*/ comment terminates the comment[/+]seankhliao commentedon Nov 15, 2024
I'd agree that this is working as intended and covered by the usual rules for "Comments do not nest ".