Skip to content

Google testing fails on icon_map_generator Icon "Too few positional arguments: 2 required, 1 given." #101611

@jmagman

Description

@jmagman

Seen in cl/440438444 during unrelated #100787

google3:///[mobile/flutter/tools/icon_font/bin/icon_map_generator.dart:46](https://cs.corp.google.com/piper///depot/google3/mobile/flutter/tools/icon_font/bin/icon_map_generator.dart?l=46&ws=tap-presubmit-rerun-server/627796&snapshot=2):22: Error: Too few positional arguments: 2 required, 1 given.
    final icon = Icon(entry);
                     ^
google3:///[third_party/dart/flutter/tools/lib/update_icons.dart:393](https://cs.corp.google.com/piper///depot/google3/third_party/dart/flutter/tools/lib/update_icons.dart?l=393&ws=tap-presubmit-rerun-server/627796&snapshot=2):3: Context: Found this candidate, but the arguments don't match.
  Icon(MapEntry<String, String> tokenPair, this.fontFamily) {
  ^^^^


ERROR: mobile/flutter/tools/icon_font/bin/icon_map_generator.dart

46: final icon = Icon(entry); 2 positional argument(s) expected, but 1 found. #not_enough_positional_arguments

Caused by #101190, needs a g3fix?
@guidezpl @clocksmith

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionc: contributor-productivityTeam-specific productivity, code health, technical debt.team-infraOwned by Infrastructure team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions