1
0
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:
Rob Pike 2008-10-23 17:39:15 -07:00
parent 4712165b17
commit 8327b54169
2 changed files with 5 additions and 5 deletions

View File

@ -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 {

View File

@ -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
}