)]}'
{
  "commit": "90feb064f3c4038ff2eed4bd1c57723649e577ac",
  "tree": "5ba0b7ab3ff2c55c68febfd597b07878e91e4c0b",
  "parents": [
    "95e6dba347b3db04f7cf4958032db9610df5084a"
  ],
  "author": {
    "name": "Paul Berry",
    "email": "paulberry@google.com",
    "time": "Mon Feb 13 15:55:19 2023 +0000"
  },
  "committer": {
    "name": "Commit Queue",
    "email": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Feb 13 15:55:19 2023 +0000"
  },
  "message": "Flow analysis: promote when assigning to variables in patterns.\n\nMost pattern variable assignments don\u0027t need to promote, because\npattern variable assignments must be irrefutable, and thus the pattern\nmatch cannot fail.  There\u0027s one exception, though: when the assigned\nvalue has type `dynamic`, an implicit downcast is performed.\n\nBug: https://github.com/dart-lang/sdk/issues/50419\nChange-Id: Ic8f572303d60c354e9e342f79af03e669fa248c3\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/282381\nCommit-Queue: Paul Berry \u003cpaulberry@google.com\u003e\nReviewed-by: Johnni Winther \u003cjohnniwinther@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f2195ab80410805d8f4269f0ec8281e36c995a97",
      "old_mode": 33188,
      "old_path": "pkg/_fe_analyzer_shared/lib/src/type_inference/type_analyzer.dart",
      "new_id": "b6723ade08c1c009ad4eab187b2fc62723b70173",
      "new_mode": 33188,
      "new_path": "pkg/_fe_analyzer_shared/lib/src/type_inference/type_analyzer.dart"
    },
    {
      "type": "modify",
      "old_id": "4c9fded89c5eac52908c1490d445ce78e5fe17c3",
      "old_mode": 33188,
      "old_path": "pkg/_fe_analyzer_shared/test/flow_analysis/flow_analysis_test.dart",
      "new_id": "46268e44dda44f80eef945c6abb812c2d325875e",
      "new_mode": 33188,
      "new_path": "pkg/_fe_analyzer_shared/test/flow_analysis/flow_analysis_test.dart"
    },
    {
      "type": "modify",
      "old_id": "99ac83146d6c54d15dfd2ca3871b8020a02b41af",
      "old_mode": 33188,
      "old_path": "pkg/_fe_analyzer_shared/test/mini_ast.dart",
      "new_id": "31f646b6e22c9e906de053b40ba44100de780b02",
      "new_mode": 33188,
      "new_path": "pkg/_fe_analyzer_shared/test/mini_ast.dart"
    }
  ]
}
