Skip to content

Deprecate RangeError.checkValidIndex in favor of IndexError.check #114918

@kallentu

Description

@kallentu

Recently deprecated RangeError.checkValidIndex in this CL needs to be fixed in lib/web_ui/lib/src/engine/services/buffers.dart for flutter/engine.

There's a tryjob breakage due to this deprecation.
https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/flutter-analyze/17865/overview

Change all instances of RangeError.checkValidIndex in favor of IndexError.check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: proposalA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.r: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions