)]}'
{
  "commit": "3f8c59651f1403d41b74a87608dd826e2b9f4b99",
  "tree": "5254a21c7c40b5933200352f5a4de21a0f3ad808",
  "parents": [
    "52304b29d0919c9da8787b660b8c5324ecc82abc"
  ],
  "author": {
    "name": "Erik Ernst",
    "email": "eernst@google.com",
    "time": "Wed Sep 04 08:15:10 2024 +0000"
  },
  "committer": {
    "name": "Commit Queue",
    "email": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Sep 04 08:15:10 2024 +0000"
  },
  "message": "Adjust a declaration to avoid that a type variable shadows a type\n\nA proposed generalization of the lint `avoid_types_as_parameter_names`\nwill lint situations where a type variable shadows a type. There is\none exception, e.g.,\n\n  class C\u003cX\u003e {\n    static void foo\u003cX\u003e() {} // OK\n  }\n\nThe exception is that a static method can declare type parameters\nthat shadow type parameters declared by the enclosing declaration.\n\nThe enhanced lint gives rise to a couple of diagnostic messages\non SDK code. In particular, `disjunctive.dart` uses `Expression`\nas the name of a type variable in a context where another\ndeclaration named `Expression` is in scope. (This is a plain case,\nthe exception isn\u0027t relevant here.)\n\nThis CL renames that type variable such that the shadowing is\navoided. I\u0027ve chosen to rename it from `Expression` to `TExpression`.\nIt may be more idiomatic Dart to use `E`, but I wanted to avoid eliminating the information which is encoded as the word\n\u0027Expression\u0027 (which isn\u0027t available otherwise because there is no\nbound).\n\nChange-Id: Ifba8b9b74c6bd24f0741752a45c6ebcdc1aebe16\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/382889\nReviewed-by: Devon Carew \u003cdevoncarew@google.com\u003e\nCommit-Queue: Erik Ernst \u003ceernst@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d235b83a8b27d7659d05c5b066600a26036f0129",
      "old_mode": 33188,
      "old_path": "pkg/status_file/lib/src/disjunctive.dart",
      "new_id": "6bac6f7778f66447509547623400cded83ffdea4",
      "new_mode": 33188,
      "new_path": "pkg/status_file/lib/src/disjunctive.dart"
    }
  ]
}
