Skip to content

Commit 59d54ed

Browse files
authored
Update what seems like an outdated comment
Totally minor, but I was taking a look at the source for educational purposes and noticed that it seems ASTNode evolved to be a union of a few additional types without the file comment being updated. Updated to reflect the code, if I understand it correctly.
1 parent 9cc5d12 commit 59d54ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/swift/AST/ASTNode.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
//
13-
// This file defines the ASTNode, which is a union of Stmt, Expr, and Decl.
13+
// This file defines the ASTNode, which is a union of Stmt, Expr, Decl,
14+
// Pattern, TypeRepr, StmtCondition, and CaseLabelItem
1415
//
1516
//===----------------------------------------------------------------------===//
1617

0 commit comments

Comments
 (0)