Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KT] Remove reliance on the origin to check if it's a call to `iterat…
…or.hasNext()` In K2, `IrStatementOrigin.FOR_LOOP_HAS_NEXT` origin is not set on the loop condition if it does not see a direct call to `iterator.hasNext()` function (case where the iterable overrides `iterator()` and returns a more specific type.) PiperOrigin-RevId: 696872017
- Loading branch information