Fix the format idempotency of open type declarations#1794
Fix the format idempotency of open type declarations#1794jordwalke merged 1 commit intoreasonml:masterfrom
Conversation
e.g. type a = b = ..; was being formatted as type a = .. = b;
|
You are at it again! |
|
I assume you ran into this issue in a real world app. How are you pulling in your custom fixes into your personal project so that these don't become blockers for you? |
|
To be honest, I'm not even sure what the form I just decided to increase the unit test code coverage for the |
|
That's awesome. Thanks for helping us improve the quality of the code. I'm curious how you are finding code that is not executed in the formatting tests. Is there an OCaml utility you are using? |
|
By the way |
|
Ah so thats how extensible variants are defined. Back in my day we wrote our plugin systems with first class modules. It worked pretty well. To get code coverage reports I
I will probably add a makefile target to make this process a bit easier. At the moment I'm relying on shell history to not forget anything. |
|
I would definitely use such a makefile target. |


e.g.
was being formatted as