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
Test cases in HeuristicResolverTest.cpp pass even if the code being parsed in the test case has error diagnostics.
That's not the intention, as this has the potential to hide bugs in the test cases. Error diagnostics while parsing should cause the test case to fail.
In clangd tests, that's accomplished like this; we should do something similar. (The clangd test infra also has a mechanism to deliberately allow errors for a particular test case, to allow testing behaviour on invalid code. For HeuristicResolver, we can leave that for a later time if/when we need it.)