mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +01:00
Parsing impl...as (#3473)
Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
co-authored by
Jon Ross-Perkins
parent
c4864aa2ff
commit
5f439b842b
@@ -142,8 +142,8 @@ static auto TryHandleAsDecl(Context& context, Context::StateStackEntry state,
|
||||
return true;
|
||||
}
|
||||
case Lex::TokenKind::Impl: {
|
||||
// TODO: Treat this `impl` token as a declaration introducer
|
||||
HandleUnrecognizedDecl(context, state.subtree_start);
|
||||
ApplyIntroducer(context, state, NodeKind::ImplIntroducer,
|
||||
State::ImplAfterIntroducer);
|
||||
return true;
|
||||
}
|
||||
case Lex::TokenKind::Interface: {
|
||||
|
||||
Reference in New Issue
Block a user