Skip to content

Commit

Permalink
[Civl] small fix (#855)
Browse files Browse the repository at this point in the history
Co-authored-by: Shaz Qadeer <[email protected]>
  • Loading branch information
shazqadeer and Shaz Qadeer authored Mar 6, 2024
1 parent 732ebe0 commit 9b83c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Concurrency/CivlCoreTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ private void DropSetChoice(CivlTypeChecker civlTypeChecker, Implementation impl)

private void DesugarSetChoice(CivlTypeChecker civlTypeChecker, Implementation impl)
{
var choice = VarHelper.Formal("choice", TypeHelper.CtorType(ChoiceDatatypeTypeCtorDecl), false);
var choice = civlTypeChecker.Formal("choice", TypeHelper.CtorType(ChoiceDatatypeTypeCtorDecl), false);
impl.Proc.OutParams.Add(choice);
impl.OutParams.Add(choice);
impl.Blocks.ForEach(block =>
Expand Down

0 comments on commit 9b83c3a

Please sign in to comment.