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
{{ message }}
Repository navigation
No "did you mean to call" error when invocation is part of a logical expression #40197
Expected behavior:
The same error (2774) on the access of foo in both is_foo_1 and is_foo_2.
Actual behavior:
Only is_foo_1 shows the error. However, from a logical standpoint, I would consider them to be equally incorrect. !foo doesn't give an error either.
Activity
RyanCavanaugh commentedon Aug 25, 2020
This would probably go well as a PR; see #36402 as a reference point