golang.org/x/tools/gopls@v0.15.3/internal/test/marker/testdata/codeaction/issue64558.txt (about)

     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"), codeactionerr("f", ")", "refactor.inline", re`inlining failed \("args/params mismatch"\), likely because inputs were ill-typed`)
    12  }
    13  
    14  func f(int) {}