Exception during search when including a '<' for a generic type if there isn't a match in current results list. #22
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: cyro/CherryPick#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
During a search, if you type "<" when the previous search terms don't return any types that accepts generic T, the editing field stops being type-able. This becomes more noticeable if you have a low search result setting.
A simple reproduction case would be to search for
DelayValue<int>
withd <
which will make the search field no longer type-able.Ideally this exception is caught and allow the user to continue typing.
Doing


d <
would fail as the list contains no matches that accept a generic TDoing
de <
would work (with the result count changed to 20) however as the list includesValueDec<T>
but with the default of 10 results, this would also break as the mentioned match is further down the list.Here is the error that is logged.