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
[FRONTEND] Remove incorrect and misleading error message from the return-in-while check (#7551)
We actually don't check `return`s in functions being called within
`while` or `for`.
```
def _visit_function(self, fn) -> bool:
# No need to check within the function as it won't cause an early return.
# If the function itself has unstructured control flow we may not be able to inline it causing poor performance,
# we should check for this and emit a warning.
return False
```
0 commit comments