This PR ensures that the user can only write enum inequalities using valid enum constants.
Before this PR it was be possible to write Options.recording_mode == "foo" even though the enum constants are "best_effort" and "strict". This is now disallowed.
This check already existed in < inequalities. This PR extends it to the remaining ones.
This PR ensures that the user can only write enum inequalities using valid enum constants.
Before this PR it was be possible to write
Options.recording_mode == "foo"
even though the enum constants are"best_effort"
and"strict"
. This is now disallowed.This check already existed in
<
inequalities. This PR extends it to the remaining ones.