1
2
3
4
5
6
7
8 package aliases
9
10 import (
11 "go/types"
12 )
13
14
15
16 type Alias struct{}
17
18 func (*Alias) String() string { panic("unreachable") }
19 func (*Alias) Underlying() types.Type { panic("unreachable") }
20 func (*Alias) Obj() *types.TypeName { panic("unreachable") }
21 func Rhs(alias *Alias) types.Type { panic("unreachable") }
22
23
24 func Unalias(t types.Type) types.Type { return t }
25
26 func newAlias(name *types.TypeName, rhs types.Type) *Alias { panic("unreachable") }
27
28
29
30
31 func Enabled() bool { return false }
32
View as plain text