Skip to content

Commit 37a6f4c

Browse files
[SwiftSyntax] Make traits conform to Syntax (swiftlang#15112)
1 parent 5e55586 commit 37a6f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/SwiftSyntax/SyntaxNodes.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public struct ${node.name}: ${base_type}, _SyntaxBase, Hashable {
196196
% end
197197

198198
% for trait in TRAITS:
199-
public protocol ${trait.trait_name}Syntax {
199+
public protocol ${trait.trait_name}Syntax: Syntax {
200200
% for child in trait.children:
201201
% ret_type = child.type_name
202202
% if child.is_optional:

0 commit comments

Comments
 (0)