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
When the return type of a function can't be inferred, the diagnostic's (inference_failure_on_function_return_type) range is the entire function, making code hard to read in an IDE and potentially making the issue harder to identify. This is especially the case when there are local functions. It should likely just target the function name.
The text was updated successfully, but these errors were encountered:
parlough
changed the title
[analyzer] strict-inference target too large when return type can't be inferred
[analyzer] strict-inference target range too broad when return type can't be inferred
Jun 14, 2023
When the return type of a function can't be inferred, the diagnostic's (
inference_failure_on_function_return_type
) range is the entire function, making code hard to read in an IDE and potentially making the issue harder to identify. This is especially the case when there are local functions. It should likely just target the function name.The text was updated successfully, but these errors were encountered: