Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
flamelx opened this issue Mar 16, 2023 · 0 comments
Open
Assignees
Labels

Comments

@flamelx
Copy link

flamelx commented Mar 16, 2023

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)

@flamelx flamelx changed the title ``` recursive type error cases: call of reflect.Value.Interface on zero Value Mar 16, 2023
@cosmos72 cosmos72 self-assigned this Jan 8, 2024
@cosmos72 cosmos72 added the bug label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants