blob: 6a4223673edabdee1a6c3329c596f1acc355e1cc [file] [log] [blame] [edit]
-- go.mod --
module example.com
go 1.24
-- lib/lib.go --
package lib
//go:fix inline
type Alias[T any] = []T
-- other/other.go --
package other
type Other int
-- main/main.go --
package main
import (
"example.com/lib"
"example.com/other"
)
func _() {
var _ lib.Alias[other.Other] // want "Type alias lib.Alias.other.Other. should be inlined"
}