mirror of
https://github.com/golang/go
synced 2024-11-22 20:50:05 -07: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
@ -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…
Reference in New Issue
Block a user