)]}'
{
  "commit": "f2f06264dcd2874cbe0517dc427b40b7dca8f7ce",
  "tree": "9aaea083d88e9af8e4c19f1cb41907ccccd59225",
  "parents": [
    "2deb47d217bd22ca3b27d22beac9006eb5662c18"
  ],
  "author": {
    "name": "Nate Bosch",
    "email": "nbosch1@gmail.com",
    "time": "Fri Mar 08 12:48:52 2019 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Mar 08 12:48:52 2019 -0800"
  },
  "message": "Allow a `FutureOr` return in `scan` (dart-lang/stream_transform#64)\n\nCloses dart-lang/stream_transform#62\r\n\r\nAdds async support in `scan` instead of a new `asyncScan` since the\r\nlatter would be able to serve both use cases so it would not be clear\r\nwhy both exist.\r\n\r\nTechnically this is breaking but it\u0027s such an extreme edge case that it\r\nis very unlikely to come up in practice - and the breakage is detected\r\nstatically. Due to the way `FuturOr\u003cFuture\u003e` interacts with inference\r\nthere are some cases where the generic types may need to be explicitly\r\nwritten. This is an unlikely scenario where the transformer emitted a\r\nstream of futures.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e26b1f182b9395ff1fd57ea501d384e8fc73b485",
      "old_mode": 33188,
      "old_path": "pkgs/stream_transform/CHANGELOG.md",
      "new_id": "371889a04f9adfde8473b01693c86b0bef36a68c",
      "new_mode": 33188,
      "new_path": "pkgs/stream_transform/CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "0936e13e15d40a81437d7ea5ea13b0073a5b572f",
      "old_mode": 33188,
      "old_path": "pkgs/stream_transform/lib/src/scan.dart",
      "new_id": "b2f76eff2a34be74d0d51400eea17bedfe2e5486",
      "new_mode": 33188,
      "new_path": "pkgs/stream_transform/lib/src/scan.dart"
    },
    {
      "type": "modify",
      "old_id": "722cecd2dc8b8e26bd1119db254a56f785e89ed1",
      "old_mode": 33188,
      "old_path": "pkgs/stream_transform/pubspec.yaml",
      "new_id": "c0768e920be4b0ccd8a7325983699bdf23140ec1",
      "new_mode": 33188,
      "new_path": "pkgs/stream_transform/pubspec.yaml"
    },
    {
      "type": "modify",
      "old_id": "db958850ec692b68c4b4f930182b79fd3ac63aed",
      "old_mode": 33188,
      "old_path": "pkgs/stream_transform/test/scan_test.dart",
      "new_id": "71472a6eeaeef129732a9fdf3f9746b1cba891a1",
      "new_mode": 33188,
      "new_path": "pkgs/stream_transform/test/scan_test.dart"
    }
  ]
}
