Lex/parse support for ->?, :?, and form literals (#6695)

See #5389 (pending) for the language design.
This commit is contained in:
Geoff Romer
2026-02-07 02:41:22 +00:00
committed by GitHub
parent 1382a8645a
commit 7938d9a8d0
31 changed files with 758 additions and 195 deletions
+4
View File
@@ -76,6 +76,10 @@ auto HandleParseNode(Context& context, Parse::ReturnTypeId node_id) -> bool {
return true;
}
auto HandleParseNode(Context& context, Parse::ReturnFormId node_id) -> bool {
return context.TODO(node_id, "Support ->?");
}
// Diagnoses issues with the modifiers, removing modifiers that shouldn't be
// present.
static auto DiagnoseModifiers(Context& context,