)]}'
{
  "commit": "b64c9ee5e915fe9cae4755edc6cfe32fe03b0aba",
  "tree": "b0373b06b593ebbff1546f803c0c4d559cb9f9b3",
  "parents": [
    "e3599b6b5ed5b017b11fa6866ded8e16c772c6f6"
  ],
  "author": {
    "name": "Paul Berry",
    "email": "paulberry@google.com",
    "time": "Wed May 08 20:38:30 2024 +0000"
  },
  "committer": {
    "name": "Commit Queue",
    "email": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed May 08 20:38:30 2024 +0000"
  },
  "message": "Mini_types: Improve `toString` logic.\n\nThe `toString` logic in `mini_types.dart` is improved in the following ways:\n\n- The `toString` representation of the \"unknown\" type is changed from\n  `?` to `_`, to match the behavior of the mini_types parser.\n\n- Logic for applying parentheses is simplified and moved into the\n  function `_parenthesizeIf`.\n\n- The boolean `allowSuffixes` (which was not well documented, and\n  poorly named) is replaced with a boolean `parenthesizeIfComplex`,\n  and documentation is added to clarify its behavior.\n\n- Unit tests of `toString` are added to `mini_types_test.dart`.\n\nChange-Id: I251e137369b5880017022be2514f00975a511e72\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/365660\nReviewed-by: Konstantin Shcheglov \u003cscheglov@google.com\u003e\nCommit-Queue: Paul Berry \u003cpaulberry@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7529ecad8435461cc014148bc87c5fe1bcf50ccb",
      "old_mode": 33188,
      "old_path": "pkg/_fe_analyzer_shared/test/mini_ast.dart",
      "new_id": "076b4a2fbd3ddceffa615bbea444751ad9272e1a",
      "new_mode": 33188,
      "new_path": "pkg/_fe_analyzer_shared/test/mini_ast.dart"
    },
    {
      "type": "modify",
      "old_id": "1209ec3c37abc5701090f3cf9bc3de28ae1d9cb1",
      "old_mode": 33188,
      "old_path": "pkg/_fe_analyzer_shared/test/mini_types.dart",
      "new_id": "e7e4eba39e0b8a2d0471684a32f8aaafc50ff235",
      "new_mode": 33188,
      "new_path": "pkg/_fe_analyzer_shared/test/mini_types.dart"
    },
    {
      "type": "modify",
      "old_id": "d902d368fc331f8a2e67a384d8ba7eeaef04cfac",
      "old_mode": 33188,
      "old_path": "pkg/_fe_analyzer_shared/test/mini_types_test.dart",
      "new_id": "8dffe87fd23d6849262123e50caacdb3fa18db20",
      "new_mode": 33188,
      "new_path": "pkg/_fe_analyzer_shared/test/mini_types_test.dart"
    },
    {
      "type": "modify",
      "old_id": "77c9e209c781c280c770a6eb29cdbd3b1143c9a5",
      "old_mode": 33188,
      "old_path": "pkg/_fe_analyzer_shared/test/type_inference/type_inference_test.dart",
      "new_id": "247b23eb66bfee17c837a35d7c1eb14e59629797",
      "new_mode": 33188,
      "new_path": "pkg/_fe_analyzer_shared/test/type_inference/type_inference_test.dart"
    }
  ]
}
