)]}'
{
  "commit": "007485fa64990fdda2e7a57fffd9f77a89c0e195",
  "tree": "3f64c7969a48bf2279302c55acf932753b79ac11",
  "parents": [
    "2e8c2a50007c55a3c5e3bcb798a1c96f9e80b754"
  ],
  "author": {
    "name": "Kallen Tu",
    "email": "kallentu@google.com",
    "time": "Fri Aug 22 11:13:00 2025 -0700"
  },
  "committer": {
    "name": "Commit Queue",
    "email": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Aug 22 11:13:00 2025 -0700"
  },
  "message": "[analyzer] Dot shorthands: Issue 61209 - Constant parameter mismatch error fix.\n\nIn the specific case where a dot shorthand is referencing a const constructor invocation of a imported class and the constructor has an optional parameter with a default value, the analyzer currently fails to compute the the constant result from that default value.\n\nWith the changes in this CL, we\u0027re properly calculating the dependencies we need to do that computation and prevent the `const_constructor_param_type_mismatch` error. We\u0027re missing a couple of visitors for the `DotShorthandConstructorInvocation` AST that tell the constant evaluator to evaluate its dependencies. This should work exactly like visiting `InstanceCreationExpression`s, in the same class.\n\nFixes: https://github.com/dart-lang/sdk/issues/61209\nBug: https://github.com/dart-lang/sdk/issues/59835\nChange-Id: I6544e11e19f814b62108a736d1c778f8c4eda0cc\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/446181\nReviewed-by: Chloe Stefantsova \u003ccstefantsova@google.com\u003e\nCommit-Queue: Kallen Tu \u003ckallentu@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "03b3c569dd5a13afce4eda09c011b2ae76193de3",
      "old_mode": 33188,
      "old_path": "pkg/analyzer/lib/src/dart/constant/utilities.dart",
      "new_id": "2001e902cd5e092c8f78ad2d45d5380298372707",
      "new_mode": 33188,
      "new_path": "pkg/analyzer/lib/src/dart/constant/utilities.dart"
    },
    {
      "type": "modify",
      "old_id": "be95cb676a267f3aa59c9b030baa61127c02a887",
      "old_mode": 33188,
      "old_path": "pkg/analyzer/test/src/dart/constant/evaluation_test.dart",
      "new_id": "1b3c80de84d90179ec1bc046109cb765f447b501",
      "new_mode": 33188,
      "new_path": "pkg/analyzer/test/src/dart/constant/evaluation_test.dart"
    }
  ]
}
