Skip to content

Consider whether skipWhile and takeWhile should consider a throwing test as failing. #30747

Open
@lrhn

Description

@lrhn

The methods on Iterable currently treat a throwing call to test as ignored.
The way it's written, you can catch the error and continue iterating, skipping past the error.
The behavior isn't documented. We should decide what we want to happen, document and implement it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.core-alibrary-coretype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions