jmid / mutaml

An OCaml mutation tester
BSD 2-Clause "Simplified" License
65 stars 4 forks source link

Avoid mutations in attribute parameters #29

Closed jmid closed 2 months ago

jmid commented 2 months ago

This fixes the first issue reported in #28.

The problem is that mutaml attempts to mutate the Boolean literal false in a type such as the below:

type some_type = A | B [@@deriving show {with_path = false}]

This is not compatible with the current architecture, which compiles - and hence preprocesses once, and then runs the resulting output repeatedly with different environment definitions.

jmid commented 2 months ago

There are 2 CI failures:

I'll merge