You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[IDE] Fix crash in common root search in REPL code completion
Specify end of second range to std::mismatch (since C++14) to avoid
accidentally stepping outside that range. In this case fixes a crash when
trying to find a common prefix with an empty StringRef.
Also add early return if no common root can be found.
Fix for "REPL crashes during autocompletion" swiftlang#62802
0 commit comments