Skip to content

Commit 5c7ea9b

Browse files
committed
Limit the number of valid hole fits
Originally haskell/ghcide#888
1 parent 7d7c2ef commit 5c7ea9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghcide/src/Development/IDE/GHC/Compat.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ setUpTypedHoles df
303303
$ df
304304
{ refLevelHoleFits = Just 1 -- becomes slow at higher levels
305305
, maxRefHoleFits = Just 10 -- quantity does not impact speed
306-
, maxValidHoleFits = Nothing -- quantity does not impact speed
306+
, maxValidHoleFits = Just 10 -- quantity does not impact speed
307307
}
308308

309309

0 commit comments

Comments
 (0)