Add TODOs for implicit params to class and interface. (#3596)

Without these, the code crashes.
This commit is contained in:
Jon Ross-Perkins
2024-01-12 22:40:11 +00:00
committed by GitHub
parent 44fdcc3db8
commit e305c896a1
4 changed files with 53 additions and 0 deletions
+3
View File
@@ -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()