We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cce3435 commit 251da9fCopy full SHA for 251da9f
src/Lean/Elab/App.lean
@@ -1424,7 +1424,7 @@ where
1424
type{inlineExprTrailing eType}"
1425
1426
-- Possible alternatives provided with `@[suggest_for]` annotations
1427
- let suggestions := (← Lean.getSuggestions fullName).filter (·.getPrefix = fullName.getPrefix)
+ let suggestions := (← Lean.getSuggestions fullName).filter (·.getPrefix = fullName.getPrefix) |>.toArray
1428
let suggestForHint ←
1429
if h : suggestions.size = 0 then
1430
pure .nil
0 commit comments