Remove unread private transport members

This commit is contained in:
2026-10-25 22:18:12 +00:00
parent e4a5ecb4be
commit 3122e2f32d
21 changed files with 50 additions and 89 deletions

View File

@@ -11,16 +11,15 @@ const (
)
type sequenceDeclarationSpec struct {
path Path
location Location
destination Path
destinationLocation Location
identityFields []string
identityPresent bool
identityLocation *Location
mode sequenceMode
modePresent bool
modeLocation *Location
path Path
location Location
destination Path
identityFields []string
identityPresent bool
identityLocation *Location
mode sequenceMode
modePresent bool
modeLocation *Location
}
func parseSequenceDeclarationDirective(node *document.Node, directivePath Path) ([]sequenceDeclarationSpec, []Diagnostic) {
@@ -60,7 +59,6 @@ func parseSequenceDeclarationSpec(node *document.Node, declarationPath Path) (se
return sequenceDeclarationSpec{}, []Diagnostic{*diagnostic}
}
declaration.destination = destination
declaration.destinationLocation = publicLocation(entry.Value.Location)
case "key":
fields, locations, errIndex, valid := parseSequenceIdentityFieldSet(entry.Value)
if !valid {