)]}'
{
  "commit": "19738be007ce63e6d1c2112e58bc177d507c4f5c",
  "tree": "07f80341fed82ba2fc76a7cb4f1a77280812530f",
  "parents": [
    "383b97c0b5ea2532304cf9403f537b784b9871f2"
  ],
  "author": {
    "name": "Muir Manders",
    "email": "muir@mnd.rs",
    "time": "Wed Aug 05 22:17:55 2020 -0700"
  },
  "committer": {
    "name": "Rebecca Stambler",
    "email": "rstambler@golang.org",
    "time": "Fri Aug 07 23:56:57 2020 +0000"
  },
  "message": "internal/lsp/source: improve type switch case completion\n\nNow we will filter out the types already used in other case\nstatements:\n\n    switch ast.Node(nil).(type) {\n    case *ast.Ident:\n    case *ast.I\u003c\u003e // don\u0027t offer \"Ident\" since it has been used\n    }\n\nNote that the implementation was not able to use a map to track the\nseen types.Types because we build up types.Type entries dynamically\nwhen searching for completions (e.g. types.NewPointer() to make a\npointer type). We must use types.Identical() instead of direct pointer\nequality.\n\nChange-Id: I316638bb48bfd6802e2caea671f297d640291010\nReviewed-on: https://go-review.googlesource.com/c/tools/+/247098\nRun-TryBot: Muir Manders \u003cmuir@mnd.rs\u003e\nTryBot-Result: Gobot Gobot \u003cgobot@golang.org\u003e\nReviewed-by: Rebecca Stambler \u003crstambler@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c0362bee83da0a51777f0e31ce55260969b5fc32",
      "old_mode": 33188,
      "old_path": "internal/lsp/source/completion.go",
      "new_id": "5010e18c8cb6620093a1a9fd8e933cc737c2a082",
      "new_mode": 33188,
      "new_path": "internal/lsp/source/completion.go"
    },
    {
      "type": "modify",
      "old_id": "293025ff8ee5fc88f58aed5875a686ebcfed319f",
      "old_mode": 33188,
      "old_path": "internal/lsp/testdata/lsp/primarymod/rank/type_switch_rank.go.in",
      "new_id": "1ed12b7c1c7c2ffd300fe1a4bf91dd33285fcd57",
      "new_mode": 33188,
      "new_path": "internal/lsp/testdata/lsp/primarymod/rank/type_switch_rank.go.in"
    },
    {
      "type": "modify",
      "old_id": "1b3e05098c1db307eb45c70ebbb67d27d6e8cca2",
      "old_mode": 33188,
      "old_path": "internal/lsp/testdata/lsp/summary.txt.golden",
      "new_id": "493b5f0eb7e051a9d6cc49efa2c8a5ea35130656",
      "new_mode": 33188,
      "new_path": "internal/lsp/testdata/lsp/summary.txt.golden"
    }
  ]
}
