Skip to content

Commit

Permalink
Fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
SupunS committed Jan 29, 2025
1 parent 84d349b commit 1885788
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bbq/compiler/desugar.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,8 @@ func (d *Desugar) desugarPostConditions(

// Desugar self-defined post-conditions
if conditions != nil {
conditionsList := conditions.Conditions
postConditionsRewrite := d.elaboration.PostConditionsRewrite(conditions)
conditionsList = postConditionsRewrite.RewrittenPostConditions
conditionsList := postConditionsRewrite.RewrittenPostConditions

for _, condition := range conditionsList {
desugaredCondition := d.desugarCondition(condition)
Expand Down

0 comments on commit 1885788

Please sign in to comment.