ghcide/test/exe
Serhii 9272bfe030
Code action add default type annotation to remove -Wtype-defaults warning (#680)
* Code action to add default type annotation to satisfy the contraints

     this is useful when using `traceShow` with with OverloadedStrings
     and type-defaults warning enabled

     Handle the following cases:

            - there is one literal and one contraint to be satisfied

            - there are mulitple literals and/or multiple constraints

     Adding type annotations to expressions that trigger type-defaults
     warning is not part of this changes

* Simplify older test

* Fix hlint issue
2020-07-10 08:55:36 +02:00
..
Main.hs Code action add default type annotation to remove -Wtype-defaults warning (#680) 2020-07-10 08:55:36 +02:00