)]}'
{
  "commit": "b6bb10f69a07f99752835ce0604f8fef2b18a7a2",
  "tree": "ad44a2210a83da08604be8c37eb649b7ae87cd3c",
  "parents": [
    "398ef5d69327ad92de35924780b6e09124b575e6"
  ],
  "author": {
    "name": "Stephen Adams",
    "email": "sra@google.com",
    "time": "Thu Apr 14 19:26:13 2022 +0000"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Thu Apr 14 19:26:13 2022 +0000"
  },
  "message": "[dart2js] Avoid some \u0027allowNull\u0027 options\n\nThis change is in preparation for migrating dart2js to NNBD.\n\nIn serialization some methods have an \u0027allowNull\u0027 or \u0027emptyAsNull\u0027\noptional arguments.\n\nI\u0027m trying to remove these named parameters and replace\n\n    // @dart \u003d 2.10\n    Foo readFoo({bool allowNull: false});\n\nwith\n\n    // TODO: @dart \u003d 2.16\n    Foo readFoo();\n    Foo? readFooOrNull();\n\nHaving two functions with different return types helps keep the\nnullability \u0027tight\u0027. This helps the migration tool infer the correct\ntypes.\n\nFor collections, we don\u0027t need two functions on the \u0027write\u0027 side, but\nI think it is useful to keep the readers and writers consistent.\n\nChange-Id: I40dc216b50c90e9bacf487436605f0bf2b1d94e8\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/241206\nReviewed-by: Nate Biggs \u003cnatebiggs@google.com\u003e\nReviewed-by: Joshua Litt \u003cjoshualitt@google.com\u003e\nCommit-Queue: Stephen Adams \u003csra@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6f5106a9f7232c021150fd1dda4aa7057cf84b3c",
      "old_mode": 33188,
      "old_path": "pkg/compiler/lib/src/elements/types.dart",
      "new_id": "dbcb79de741aa106e83f4990221318d7db0eccb9",
      "new_mode": 33188,
      "new_path": "pkg/compiler/lib/src/elements/types.dart"
    },
    {
      "type": "modify",
      "old_id": "245b922f62433590d23e8d9a83a4960825264330",
      "old_mode": 33188,
      "old_path": "pkg/compiler/lib/src/js_backend/backend_usage.dart",
      "new_id": "7e08bd6f23fae6a80323f0736c0a181e66095fd9",
      "new_mode": 33188,
      "new_path": "pkg/compiler/lib/src/js_backend/backend_usage.dart"
    },
    {
      "type": "modify",
      "old_id": "d8e2b2682c77b725a03f3716e5950fdbad01375d",
      "old_mode": 33188,
      "old_path": "pkg/compiler/lib/src/js_model/closure.dart",
      "new_id": "cb36eb73d9a53247cefa35064b92388f03996214",
      "new_mode": 33188,
      "new_path": "pkg/compiler/lib/src/js_model/closure.dart"
    },
    {
      "type": "modify",
      "old_id": "258eb0f19bb2bcca6d8c1a023f6b231547e2790c",
      "old_mode": 33188,
      "old_path": "pkg/compiler/lib/src/js_model/env.dart",
      "new_id": "c987921c170c87cb65d533ab760681882444bec4",
      "new_mode": 33188,
      "new_path": "pkg/compiler/lib/src/js_model/env.dart"
    },
    {
      "type": "modify",
      "old_id": "3a84def91d78f796cfeec3ecbea1a36fb7453577",
      "old_mode": 33188,
      "old_path": "pkg/compiler/lib/src/js_model/type_recipe.dart",
      "new_id": "6b3025e52bf27e10bec1f94bbce0675f4aa6defb",
      "new_mode": 33188,
      "new_path": "pkg/compiler/lib/src/js_model/type_recipe.dart"
    },
    {
      "type": "modify",
      "old_id": "83a5af9993fbda206e7dcd00431db1c8b86ee6db",
      "old_mode": 33188,
      "old_path": "pkg/compiler/lib/src/serialization/sink.dart",
      "new_id": "e7dfec8ad5217c8017d81f28af3093cbf13da6d7",
      "new_mode": 33188,
      "new_path": "pkg/compiler/lib/src/serialization/sink.dart"
    },
    {
      "type": "modify",
      "old_id": "ee1b7e06222fde67ba68c1885cc6ec01b0df34ae",
      "old_mode": 33188,
      "old_path": "pkg/compiler/lib/src/serialization/source.dart",
      "new_id": "ed758d946df969fca9512c9f1d9cc0c2ce41adb3",
      "new_mode": 33188,
      "new_path": "pkg/compiler/lib/src/serialization/source.dart"
    },
    {
      "type": "modify",
      "old_id": "2d7159a50b0f9328f91f733fbd41935b44a8d36f",
      "old_mode": 33188,
      "old_path": "pkg/compiler/lib/src/universe/use.dart",
      "new_id": "9ddd60db9845d6199946fbcab3a98a8da8e49e33",
      "new_mode": 33188,
      "new_path": "pkg/compiler/lib/src/universe/use.dart"
    }
  ]
}
