@@ -55,13 +55,13 @@ fileprivate extension ChildKind {
55
55
return kind == otherKind
56
56
case ( . nodeChoices( let choices, _) , . nodeChoices( let otherChoices, _) ) :
57
57
return choices. count == otherChoices. count && zip ( choices, otherChoices) . allSatisfy { $0. hasSameType ( as: $1) }
58
- case ( . collection( kind: let kind, _, _, _) , . collection( kind: let otherKind, _, _, _) ) :
58
+ case ( . collection( kind: let kind, _, _, _, _ ) , . collection( kind: let otherKind, _ , _, _, _) ) :
59
59
return kind == otherKind
60
60
case ( . token( let choices, _, _) , . token( let otherChoices, _, _) ) :
61
61
return choices == otherChoices
62
- case ( . node( let kind) , . collection( kind: let otherKind, _, _, _) ) :
62
+ case ( . node( let kind) , . collection( kind: let otherKind, _, _, _, _ ) ) :
63
63
return kind == otherKind
64
- case ( . collection( kind: let kind, _, _, _) , . node( let otherKind) ) :
64
+ case ( . collection( kind: let kind, _, _, _, _ ) , . node( let otherKind) ) :
65
65
return kind == otherKind
66
66
default :
67
67
return false
0 commit comments