mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Add TODOs for implicit params to class and interface. (#3596)
Without these, the code crashes.
This commit is contained in:
@@ -27,6 +27,9 @@ static auto BuildInterfaceDecl(Context& context,
|
||||
if (context.node_stack().PopIf<Parse::NodeKind::TuplePattern>()) {
|
||||
context.TODO(parse_node, "generic interface");
|
||||
}
|
||||
if (context.node_stack().PopIf<Parse::NodeKind::ImplicitParamList>()) {
|
||||
context.TODO(parse_node, "generic interface");
|
||||
}
|
||||
|
||||
auto name_context = context.decl_name_stack().FinishName();
|
||||
context.node_stack()
|
||||
|
||||
Reference in New Issue
Block a user