Introduce canon instruction (#292)

This commit is contained in:
Mike Voronov
2022-08-26 00:43:43 +03:00
committed by GitHub
parent 5c7e88e0f2
commit 5072fba9d6
84 changed files with 4317 additions and 1566 deletions

View File

@ -87,6 +87,10 @@ pub enum CatchableError {
/// that is prohibited.
#[error("variable with name '{0}' was cleared by new and then wasn't set")]
VariableWasNotInitializedAfterNew(String),
/// Canon instruction can't canonicalize a stream since it's been found.
#[error("stream with name {0} wasn't defined, so canon instruction can't canonicalize it")]
StreamsForCanonNotFound(String),
}
impl From<LambdaError> for Rc<CatchableError> {