)]}'
{
  "commit": "2cd3ec552caa85eaefecab26e4e5e11f3d43e199",
  "tree": "c60a9f1f9e05a3ec43c356b175f96ecb6596596b",
  "parents": [
    "9bd89a769d596705ee580c8e1a9e42167a47bf98"
  ],
  "author": {
    "name": "Robert Nystrom",
    "email": "rnystrom@google.com",
    "time": "Wed May 27 13:59:34 2026 -0700"
  },
  "committer": {
    "name": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed May 27 13:59:34 2026 -0700"
  },
  "message": "Fix \"Convert to a primary constructor\" on generic classes.\n\nIt would incorrectly put the primary constructor parameter list before\nthe type\u0027s type parameter list, like:\n\n```dart\n// Before:\nclass C\u003cT\u003e {\n  C();\n}\n\n// After:\nclass C()\u003cT\u003e {\n}\n```\n\nThis fixes it to follow the type parameter list if there is one.\n\nChange-Id: Ib49c7df7923e9feed11f87579fefc8300c56c4a6\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/506760\nReviewed-by: Brian Wilkerson \u003cbrianwilkerson@google.com\u003e\nAuto-Submit: Bob Nystrom \u003crnystrom@google.com\u003e\nCommit-Queue: Brian Wilkerson \u003cbrianwilkerson@google.com\u003e\nCommit-Queue: Bob Nystrom \u003crnystrom@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "30dda5abca08e5aee1a6f098f1fdd23d390f47f5",
      "old_mode": 33188,
      "old_path": "pkg/analysis_server/lib/src/services/correction/dart/convert_to_primary_constructor.dart",
      "new_id": "3a2033962e253c4be45d20f3d4e932b5477c6b85",
      "new_mode": 33188,
      "new_path": "pkg/analysis_server/lib/src/services/correction/dart/convert_to_primary_constructor.dart"
    },
    {
      "type": "modify",
      "old_id": "2d660077a584d8ae9459fc05997fa7a58607356d",
      "old_mode": 33188,
      "old_path": "pkg/analysis_server/test/src/services/correction/assist/convert_to_primary_constructor_test.dart",
      "new_id": "460347df76d1806c83db16d9ce68670db46e3f82",
      "new_mode": 33188,
      "new_path": "pkg/analysis_server/test/src/services/correction/assist/convert_to_primary_constructor_test.dart"
    }
  ]
}
