revert #903 'feat: Emit keyword'

While we agree on the idea of having some ways of emitting events, the
  design hasn't been completely fleshed out and it is unclear whether
  events should have a well-defined format independent of the framework
  / compiler and what this format should be.

  So we need more time discussing and agreeing about what use case we
  are actually trying to solve with that.

  Irrespective of that, some cleanup was also needed on the UPLC side
  anyway since the PR introduced a lot of needless duplications.
This commit is contained in:
KtorZ
2024-05-23 17:22:12 +02:00
parent e1f39ae539
commit c48f15a957
11 changed files with 7 additions and 69 deletions

View File

@@ -1098,7 +1098,6 @@ impl TryFrom<TypedExpr> for Assertion<TypedExpr> {
}
TypedExpr::Trace { then, .. } => (*then).try_into(),
TypedExpr::Emit { then, .. } => (*then).try_into(),
TypedExpr::Sequence { expressions, .. } | TypedExpr::Pipeline { expressions, .. } => {
if let Ok(Assertion {