Skip to content

[packages][tool] Analysis breaking after pubspec_parse change. #160799

@ditman

Description

@ditman

I'm having some analyze repo tools failures in files that I haven't touched in flutter/packages (both in stable and master?)

See: https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20analyze%20stable/14294/overview

A couple of lints are failing:

  • invalid_null_aware_operator
  • unnecessary_non_null_assertion

@bparrishMines took a look and found the root cause:

It looks like the lint is caused by the pubspec_parse package. Their latest version made Pubspec.environment nonull: https://pub.dev/packages/pubspec_parse/changelog#140

Fix the tool.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listpackageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions