Skip to content

[dart] Flutter CI beta jobs fail on specify_nonobvious_local_variable_types for pattern variables #4224

Open

Description

@gspencergoog

On main, the five beta jobs in .github/workflows/flutter_packages_test.yml (dart_a2ui_core (beta), dart_a2ui_cli (beta), dart_a2ui_agent (beta), dart_a2ui_flutter (beta), and dart_a2ui_flutter_example (beta)) fail flutter analyze --fatal-infos with 76 specify_nonobvious_local_variable_types diagnostics across 12 Dart files.

Dart 3.12 (beta) expanded specify_nonobvious_local_variable_types (enabled in the root analysis_options.yaml) to inspect pattern variable destructuring (:final foo and case final foo). Adding explicit types to those 76 pattern bindings satisfies both specify_nonobvious_local_variable_types and omit_obvious_local_variable_types on both stable and beta channels.

🤖 Agent-generated

Activity

  1. added
    type: bugSomething isn't working
    P1This is a priority. Team is actively working on it, or will be soon.
    lang: dartAffects SDKs or apps in the Dart programming language
    on Nov 13, 2026
  2. added
    status: needs-triageauto-managed: https://github.com/a2ui-project/a2ui/blob/main/scripts/triage.mjs
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1This is a priority. Team is actively working on it, or will be soon.lang: dartAffects SDKs or apps in the Dart programming languagestatus: first-line-handledstatus: needs-triageauto-managed: https://github.com/a2ui-project/a2ui/blob/main/scripts/triage.mjstype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions