Skip to content

recursive type error cases: call of reflect.Value.Interface on zero Value #144

@flamelx

Description

@flamelx
func case8() {
   type RR struct {
   	A []*RR // diff
   	B int
   }
   interp := fast.New()
   interp.DeclType(interp.Comp.TypeOf(RR{}))
   script := `func Execute()([]*RR,error){
   		return nil,nil
   	}`
   interp.Eval(script)
}

@cosmos72 The problem still occurs when a field is a slice. Could you help to see it again?

Originally posted by @flamelx in #133 (comment)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions