Errors when function name ends with 'if'

4 views
Skip to first unread message

Ben

unread,
May 2, 2018, 10:26:19 AM5/2/18
to liam2-users
Hi,

It seems that there are limitations on function names that are not mentioned in the documentation. In particular, a function cannot end with "if", eg
```
salaire_relatif():
  - return salaire/avg(salaire)
test():
  - test_var: salaire_relatif()
```
leads to
```
ERROR: name 'salaire_relatwhere' is not defined
while parsing: salaire_relatif()
```
I encountered the error both on the current master branch and with the bundle.

Best,
Benjamin

Gaëtan de Menten

unread,
May 2, 2018, 10:47:22 AM5/2/18
to liam2...@googlegroups.com

Please open an issue on github.

Gaëtan



Disclaimer: This e-mail may contain confidential information which is intended only for the use of the recipient(s) named above.
If you have received this communication in error, please notify the sender immediately and delete this e-mail from your system.
Please note that e-mail messages cannot be considered as official information from the Federal Planning Bureau.
Reply all
Reply to author
Forward
0 new messages