)]}'
{
  "commit": "55fcfcaba30858d36aacedaa1df40dd538e88ac4",
  "tree": "28d53a0537b9c0713b76c193ef66e22779a76e0c",
  "parents": [
    "86ff45d82e378996aa05790cb7110c298a7281b4"
  ],
  "author": {
    "name": "Madeline Kalil",
    "email": "mkalil@google.com",
    "time": "Fri Jul 24 10:49:40 2026 -0400"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Fri Jul 24 09:34:46 2026 -0700"
  },
  "message": "go/analysis/passes/modernize: fix stringsseq panic\n\nThe stringsseq modernizer matches the call operand\nof a range statement against strings.Split,\nstrings.Fields, bytes.Split, or bytes.Fields. If the\ncall operand is a conversion, typeutil.Callee(call)\nwill return nil. If the current package does not import\n\"bytes\", the index.Object for bytes.Fields and bytes.Split\nwill also be nil, so it will match one of these cases and\ncreate a nil panic on obj.Name().\n\nAdd a switch case for nil so that we don\u0027t enter the\nwrong case when the CallExpr is a conversion.\n\nFixes golang/go#80554\n\nChange-Id: Ie4608a4103ca0d820cdef7450a8612a53a2e0ed9\nReviewed-on: https://go-review.googlesource.com/c/tools/+/805280\nReviewed-by: Alan Donovan \u003cadonovan@google.com\u003e\nAuto-Submit: Madeline Kalil \u003cmkalil@google.com\u003e\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e93951044e7e7136bac50a32e203d277144edf04",
      "old_mode": 33188,
      "old_path": "go/analysis/passes/modernize/modernize_test.go",
      "new_id": "c0d2edda496d570af0da6679078d8a36b57c37d5",
      "new_mode": 33188,
      "new_path": "go/analysis/passes/modernize/modernize_test.go"
    },
    {
      "type": "modify",
      "old_id": "58396f47a32164796272945d96985b8bcd5e7f90",
      "old_mode": 33188,
      "old_path": "go/analysis/passes/modernize/stringsseq.go",
      "new_id": "064444dc0d6b27fb71b1acb7961637270840017d",
      "new_mode": 33188,
      "new_path": "go/analysis/passes/modernize/stringsseq.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b77ca1a6c55c631e052543f2c15b3f4064718947",
      "new_mode": 33188,
      "new_path": "go/analysis/passes/modernize/testdata/src/splitseq/conv/nobytes.go"
    }
  ]
}
