This test checks that inlining removes unnecessary interface conversions.

-- main.go --
package main

import (
	"fmt"
	"io"
)

func _(d discard) {
	g(d) //@codeaction("g", "refactor.inline.call", result=out)
}

func g(w io.Writer) { fmt.Println(w) }

var _ discard
type discard struct{}
func (discard) Write(p []byte) (int, error) { return len(p), nil }
-- @out/main.go --
package main

import (
	"fmt"
	"io"
)

func _(d discard) {
	fmt.Println(d) //@codeaction("g", "refactor.inline.call", result=out)
}

func g(w io.Writer) { fmt.Println(w) }

var _ discard
type discard struct{}
func (discard) Write(p []byte) (int, error) { return len(p), nil }
