Skip to content
Snippets Groups Projects

Mutation testing: reduplication for mutation saving

Merged E. Rivas requested to merge er433/test/fix-save-mutation into dev

type:fixed

For LIGO developers

Since we are now deduplicating variables in ast-aggregated, this affects the procedure for mutation saving. For example, original code:

let sub (store, delta : storage * int) : storage = store - delta

gets printed after mutation:

let sub (store, delta : storage * int) : storage = (gen__store1330 + gen__delta1331)

This MR fixes the problem by forgetting count in variables when saving a mutation. It also improves printing of mutations by decompiling the expression.

Changelog details:

Edited by E. Rivas

Merge request reports

Merge train pipeline #614770687 passed with warnings

Merge train pipeline passed with warnings for 1c61f429

Merged by E. RivasE. Rivas 2 years ago (Aug 16, 2022 2:48pm UTC)

Loading

Pipeline #614794251 passed with warnings

Pipeline passed with warnings for d2a2e28a on dev

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading