likebike / fasteval

Fast and safe evaluation of algebraic expressions
https://crates.io/crates/fasteval/
MIT License
267 stars 26 forks source link

Extract var_names from IFunc args too #20

Open ppodolsky opened 2 years ago

ppodolsky commented 2 years ago

Hi, @likebike! There is an issue with parsing following case: my_func(my_var). my_var didn't appear among .var_names() return. Not sure if it has been done intentionally or by accident but here a no-brainer fix for the case.