govaluate icon indicating copy to clipboard operation
govaluate copied to clipboard

Ability for custom functions to return structs

Open romankartgh opened this issue 8 years ago • 1 comments

Looks like this doesn't work either after you guys implemented accessors: "User(id).Data == '2'"

Assuming User is a custom function.

It returns an error: Expression didn't compile correctly: User(id).Data == '2' (Unable to parse numeric value '.' to float64

romankartgh avatar Aug 12 '17 00:08 romankartgh

That's correct, this is the same problem as in #61, see this comment for some more explanation.

This is definitely a bug, but I don't have a timeline for fixing it yet.

Knetic avatar Aug 12 '17 01:08 Knetic