We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5b12ee commit 26c36d0Copy full SHA for 26c36d0
src/compile.rs
@@ -255,7 +255,7 @@ impl SingleExpression {
255
res_a.and_then(|a| res_b.and_then(|b| ProgNode::pair(&a, &b).with_span(self)))
256
})?
257
}
258
- SingleExpressionInner::Option(None) => ProgNode::injr(&ProgNode::unit()),
+ SingleExpressionInner::Option(None) => ProgNode::injl(&ProgNode::unit()),
259
SingleExpressionInner::Either(Either::Left(inner)) => {
260
let compiled = inner.compile(scope)?;
261
ProgNode::injl(&compiled)
0 commit comments