Parse support for simple friend declarations (#7889)

This change only supports `friend` with an identifier operand, because
there are a lot of open questions about the desired syntax beyond that.
This commit is contained in:
Geoff Romer authored and GitHub committed 2026-10-05 17:30:29 +00:00
1 parent d31a8b67d3
commit 8f258eaaa6
9 files changed
+208

No files matched your search

+1
View File
@@ -507,6 +507,7 @@ class NodeStack {
case Parse::NodeKind::Forall:
case Parse::NodeKind::FormLiteralKeyword:
case Parse::NodeKind::FormLiteralOpenParen:
case Parse::NodeKind::FriendIntroducer:
case Parse::NodeKind::IdentifierNameQualifierWithParams:
case Parse::NodeKind::IdentifierNameQualifierWithoutParams:
case Parse::NodeKind::IdentifierPackageName: