)]}'
{
  "commit": "e41cd310e9a3cfb04db3aaa4e974ebb0c2ba6dc3",
  "tree": "2de9dc794153db830c3f4b6f137bb9772797378d",
  "parents": [
    "d988849ce31462fe7548a876a0317e8deaaeff6e"
  ],
  "author": {
    "name": "Mario Carneiro",
    "email": "di.gama@gmail.com",
    "time": "Thu Apr 04 05:30:53 2024 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Apr 04 09:30:53 2024 +0000"
  },
  "message": "fix: `String.splitOn` bug (#3832)\n\nFixes #3829. As reported on Zulip (both\n[recently](https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/current.20definition.20of.20.60String.2EsplitOn.60.20is.20incorrect/near/430930535)\nand [a year\nago](https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/should.20we.20redefine.20.60String.2EsplitOnAux.60.3F/near/365899332)),\n`String.splitOn` has a bug when dealing with separators of more than one\ncharacter (which are luckily rare). The code change here is very small,\nreplacing a `i` with `i - j`, but it makes termination more complex so\nthat\u0027s where the rest of the line count goes.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4fddf004056451c4f12592a941fbdbd0028f3d0f",
      "old_mode": 33188,
      "old_path": "src/Init/Data/String/Basic.lean",
      "new_id": "96b950ea819b13d0a4e5c2ed13b1eafad4891f97",
      "new_mode": 33188,
      "new_path": "src/Init/Data/String/Basic.lean"
    },
    {
      "type": "modify",
      "old_id": "9c07cef2b5e4b27d202b0b25a526cefe926cc1f1",
      "old_mode": 33188,
      "old_path": "tests/lean/string_imp.lean",
      "new_id": "c0d1f68121e67601f5114da35d4f5c4aeb0e86b6",
      "new_mode": 33188,
      "new_path": "tests/lean/string_imp.lean"
    },
    {
      "type": "modify",
      "old_id": "cc832874c1d01c37387de756b446b8f452efd23a",
      "old_mode": 33188,
      "old_path": "tests/lean/string_imp.lean.expected.out",
      "new_id": "1f1bc5134210314dac57674abd73236d374a8d2a",
      "new_mode": 33188,
      "new_path": "tests/lean/string_imp.lean.expected.out"
    }
  ]
}
