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
Expected behavior
If the intention is that it's easier to handle Comment and CommentGroups as the same type, then perhaps this is expected. But I don't believe that's clear at the moment.
Screenshots
N/A
Version Variables
Go version: 1.21
go-yaml's Version: v1.11.2
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
CommentGroupNode Type() function returns CommentType.
To Reproduce
Yaml:
https://go.dev/play/p/dRb5T1r4Irl
(but it's clear from the source I suppose: https://github.com/goccy/go-yaml/blob/0640a158e99023787bc503fd4476e472d804c3a3/ast/ast.go#L1853C26-L1853C26)
Expected behavior
If the intention is that it's easier to handle Comment and CommentGroups as the same type, then perhaps this is expected. But I don't believe that's clear at the moment.
Screenshots
N/A
Version Variables
Additional context
N/A
The text was updated successfully, but these errors were encountered: