mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 09:14:42 +01:00
Consistently use a Witness rather than an expression to represent a possibly-symbolic witness. (#2245)
Previously we used an expression in some places and a `Witness` values in others. The eventual goal is to make `Witness` values behave like other symbolic values such as `NominalClassType`, but the first step is to consistently treat them like values rather than expressions. No functionality change intended.
This commit is contained in:
@@ -88,8 +88,8 @@ class ActionStack {
|
||||
auto Spawn(std::unique_ptr<Action> child) -> ErrorOr<Success>;
|
||||
auto Spawn(std::unique_ptr<Action> child, RuntimeScope scope)
|
||||
-> ErrorOr<Success>;
|
||||
// Replace the current action with another action of the same kind and run it
|
||||
// next.
|
||||
// Replace the current action with another action that produces the same kind
|
||||
// of result and run it next.
|
||||
auto ReplaceWith(std::unique_ptr<Action> child) -> ErrorOr<Success>;
|
||||
|
||||
// Start a new recursive action.
|
||||
|
||||
Reference in New Issue
Block a user