Debian Codegraph @

gopls/internal/test/marker/testdata/codeaction/issue64558.txt

raw
1 Test of an inlining failure due to an ill-typed input program (#64558).
2
3 -- go.mod --
4 module example.com
5 go 1.18
6
7 -- a/a.go --
8 package a
9
10 func _() {
11 f(1, 2) //@ diag("2", re"too many arguments"), codeaction("f", "refactor.inline.call", end=")", err=re`inlining failed \("too many arguments"\), likely because inputs were ill-typed`)
12 }
13
14 func f(int) {}