Remove unread private transport members
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user