mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
make reflect compile again
R=rsc DELTA=9 (4 added, 4 deleted, 1 changed) OCL=17753 CL=17755
This commit is contained in:
parent
4712165b17
commit
8327b54169
2 changed files with 5 additions and 5 deletions
|
|
@ -243,7 +243,7 @@ type ChanTypeStruct struct {
|
|||
}
|
||||
|
||||
func NewChanTypeStruct(name string, dir int, elem *StubType) *ChanTypeStruct {
|
||||
return &NewChanTypeStruct{name, elem, dir}
|
||||
return &ChanTypeStruct{name, elem, dir}
|
||||
}
|
||||
|
||||
func (t *ChanTypeStruct) Kind() int {
|
||||
|
|
|
|||
|
|
@ -148,14 +148,14 @@ export type Int64Value interface {
|
|||
Type() Type;
|
||||
}
|
||||
|
||||
func Int64Creator(typ Type, addr Addr) Value {
|
||||
return &Int64ValueStruct{addr}
|
||||
}
|
||||
|
||||
type Int64ValueStruct struct {
|
||||
addr Addr
|
||||
}
|
||||
|
||||
func Int64Creator(typ Type, addr Addr) Value {
|
||||
return &Int64ValueStruct{addr}
|
||||
}
|
||||
|
||||
func (v *Int64ValueStruct) Kind() int {
|
||||
return Int64Kind
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue