)]}'
{
  "commit": "a2900a5f1665508da93fe88a9119ee5d77cf2190",
  "tree": "de2e92520beda0db74480f36704d5c560515e672",
  "parents": [
    "7c8c6b3053d0ba91fcf15f81c45650184dc27e88"
  ],
  "author": {
    "name": "Alexander Markov",
    "email": "alexmarkov@google.com",
    "time": "Wed Mar 17 19:17:05 2021 +0000"
  },
  "committer": {
    "name": "Alexander Thomas",
    "email": "athom@google.com",
    "time": "Thu Apr 15 12:21:51 2021 +0200"
  },
  "message": "[vm] Fix access to parameters in async closure body inside field initializer\n\nFor async closure parsed_function_ could be an outer function\nwhich is unrelated to the closure. So, ScopeBuilder should not\nattempt to mark parameters of parsed_function_ with\nset_is_forced_stack() if it sees kSyncYielding FunctionNode.\nParameter variables might not be even allocated if\nasync closure is used inside an instance field initializer\nand parsed_function_ is a constructor.\n\nTEST\u003druntime/tests/vm/dart/regress_45306_test.dart\nFixes https://github.com/dart-lang/sdk/issues/45306\n\nChange-Id: I1b0082cb0e217039c43f19b35d77190493069edc\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/191325\nReviewed-by: Martin Kustermann \u003ckustermann@google.com\u003e\nCommit-Queue: Alexander Markov \u003calexmarkov@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2b5e3c04e72e1d5ecbe493c6525458f4447c9b06",
      "new_mode": 33188,
      "new_path": "runtime/tests/vm/dart/regress_45306_test.dart"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "36af440b1fa3cfca669b0f40dc2ec6460ea4bd89",
      "new_mode": 33188,
      "new_path": "runtime/tests/vm/dart_2/regress_45306_test.dart"
    },
    {
      "type": "modify",
      "old_id": "11f7de3c6f6fd4d6892193a29ab404a1d9dc08aa",
      "old_mode": 33188,
      "old_path": "runtime/vm/compiler/frontend/scope_builder.cc",
      "new_id": "ce41bb4cb6919caaf01344c4d3025407d211ed98",
      "new_mode": 33188,
      "new_path": "runtime/vm/compiler/frontend/scope_builder.cc"
    }
  ]
}
