Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • LIGO LIGO
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 172
    • Issues 172
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 40
    • Merge requests 40
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ligolang
  • LIGOLIGO
  • Merge requests
  • !1214

Add primitive for re-generating files from mutations

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged E. Rivas requested to merge er433/mutation/gen-file into dev Jul 07, 2021
  • Overview 0
  • Commits 54
  • Pipelines 13
  • Changes 24

This MR adds a new primitive for generating a mutant file out of a mutation: Test.save_mutation : mutation -> unit.

Given a mutation m modifying an expression in a file test.mligo, Test.save_mutation m will create a file test.ID.mligo with the mutation applied. The ID is an identifier generated from the mutation (hash of loc + replacing expression => base58 => first 8 chars).

This MR also adds names for constants such as Operator.times for *, Operator.add for +, etc.

  • has a changelog entry
Edited Aug 19, 2021 by E. Rivas
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: er433/mutation/gen-file