mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 09:20:27 +00:00
Added back error message on action stack. (#1826)
This commit is contained in:
1 parent
4d53e3ffe3
commit
13f97e09e8
1 file changed
+1
@@ -131,6 +131,7 @@ auto ActionStack::FinishAction() -> ErrorOr<Success> {
|
||||
case Action::Kind::ExpressionAction:
|
||||
case Action::Kind::LValAction:
|
||||
case Action::Kind::PatternAction:
|
||||
CARBON_FATAL() << "This kind of action must produce a result: " << *act;
|
||||
case Action::Kind::ScopeAction:
|
||||
CARBON_FATAL() << "ScopeAction at top of stack";
|
||||
case Action::Kind::StatementAction:
|
||||
|
||||
Reference in new issue
Block a user