error-message-index
error-message-index copied to clipboard
Somehow allow multiple "after" examples
See e.g. haskell/error-messages#65 where there's two possible solutions, so as a workaround I made before/Main1.hs
and before/Main2.hs
which are identical, but after/Main1.hs
and after/Main2.hs
which are different.
How about having both examples in the same after
?
something like
aFixedOneWay = ...
aFixedTheOther = ...
Yeah that's another workaround I considered - the issue there would be if we eventually want to have before/after diffs, this wouldn't work as well.
What if we tweaked the generator to treat any directory that matches the glob after*
as a potential "after", and then multiplexed them appropriately?