mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Lex/parse support for ->?, :?, and form literals (#6695)
See #5389 (pending) for the language design.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user