)]}'
{
  "commit": "0676b96bafb65ead1c0f42c7b0ed46dc4ab9b05e",
  "tree": "831aa51a5df3d44ee215526be320301ef38b5ec4",
  "parents": [
    "8778bc5e083ea342a37ea5dce0f7c79f70891d4a"
  ],
  "author": {
    "name": "Kevin Moore",
    "email": "kevmoo@google.com",
    "time": "Wed Nov 25 21:56:07 2026 +0000"
  },
  "committer": {
    "name": "Kevin Moore",
    "email": "kevmoo@google.com",
    "time": "Wed Nov 25 21:56:07 2026 +0000"
  },
  "message": "[code_builder] Parenthesize nullable-typed then before else\n\n- Wrap the trailing expression of an `IfElement` then-branch in\n  parentheses when its text ends in `?` and an `else` follows, so\n  `if (c) x is int? else y` parses.\n- Name every `ForElement` part (`initialize`, `condition`, `advance`,\n  `body`) so calls read in source order.\n- Emit real Dart from `toString()` on `MapLiteralEntry`,\n  `NullAwareElement`, and `LiteralMapElementsExpression`.\n- Keep one example per class in the element docs.\n- Add `emitValid`, a test helper that fails on output the formatter\n  cannot parse, and cover partial `for` headers and const lists and sets.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dce54ed99a2a2283ea29261fcb2adbbc99e0b76b",
      "old_mode": 33188,
      "old_path": "pkgs/code_builder/lib/src/specs/control.dart",
      "new_id": "1c5a3d21cce226d9d51bbe7a8acdc7cd54c2ead3",
      "new_mode": 33188,
      "new_path": "pkgs/code_builder/lib/src/specs/control.dart"
    },
    {
      "type": "modify",
      "old_id": "09200661388cfc1f28d2009cf6753ebcd48a6fab",
      "old_mode": 33188,
      "old_path": "pkgs/code_builder/lib/src/specs/control/elements.dart",
      "new_id": "e8880605f0a8c576f2894a3be4e0cc019313c911",
      "new_mode": 33188,
      "new_path": "pkgs/code_builder/lib/src/specs/control/elements.dart"
    },
    {
      "type": "modify",
      "old_id": "ec4fba6156742c8a956a7a4e65f62038c6cf4c1d",
      "old_mode": 33188,
      "old_path": "pkgs/code_builder/lib/src/specs/expression/literal.dart",
      "new_id": "5d8fc20fbdfa01a7a8afa6d28a484aff9a86e652",
      "new_mode": 33188,
      "new_path": "pkgs/code_builder/lib/src/specs/expression/literal.dart"
    },
    {
      "type": "modify",
      "old_id": "543cf52bbd7558417799a47e80473befdbc8fcc7",
      "old_mode": 33188,
      "old_path": "pkgs/code_builder/test/specs/code/expression_test.dart",
      "new_id": "eb618a249a587a670f9647c61ba2d3722eb0dfd2",
      "new_mode": 33188,
      "new_path": "pkgs/code_builder/test/specs/code/expression_test.dart"
    },
    {
      "type": "modify",
      "old_id": "653e4efc5870ee172d4dd1587ee08078aa82aadd",
      "old_mode": 33188,
      "old_path": "pkgs/code_builder/test/specs/control_test.dart",
      "new_id": "01fcf8c4b902c3d825cf6385fb7cd7daa6d40ec6",
      "new_mode": 33188,
      "new_path": "pkgs/code_builder/test/specs/control_test.dart"
    }
  ]
}
