Commit 6a8e424
committed
hls-refactor-plugin: More predictable hole fit for test
Now that we limit number of hole fits recommended by GHC, the test that
hopes to find `+` being recommended for `Int -> Int -> Int` becomes
unpredictable because there are too many symbols which match that type
and the sorting has little control over which symbols get recommended.
There are way fewer matches for `(Int -> Maybe Int) -> Maybe Int ->
Maybe Int`, so it makes the test consistently succeed.1 parent 0d9bb43 commit 6a8e424
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2640 | 2640 | | |
2641 | 2641 | | |
2642 | 2642 | | |
2643 | | - | |
2644 | | - | |
| 2643 | + | |
| 2644 | + | |
2645 | 2645 | | |
2646 | 2646 | | |
2647 | 2647 | | |
2648 | 2648 | | |
2649 | | - | |
| 2649 | + | |
2650 | 2650 | | |
2651 | 2651 | | |
2652 | | - | |
| 2652 | + | |
2653 | 2653 | | |
2654 | 2654 | | |
2655 | 2655 | | |
2656 | | - | |
2657 | | - | |
| 2656 | + | |
| 2657 | + | |
2658 | 2658 | | |
2659 | 2659 | | |
2660 | 2660 | | |
2661 | 2661 | | |
2662 | | - | |
| 2662 | + | |
2663 | 2663 | | |
2664 | 2664 | | |
2665 | | - | |
| 2665 | + | |
2666 | 2666 | | |
2667 | 2667 | | |
2668 | 2668 | | |
| |||
0 commit comments