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

Spaces around = condition in if #8

Closed
brianblasko opened this issue Aug 24, 2017 · 2 comments
Closed

Spaces around = condition in if #8

brianblasko opened this issue Aug 24, 2017 · 2 comments
Assignees
Labels

Comments

@brianblasko
Copy link

It appears that if you use spaces around the = in a condition it silently fails.
If you use a renderer without () it also fails.

Example that do not seem to work
${myobject.name = 'abc'}
${myobject.name;render='abc'}

These work correctly
${myobject.name='abc'}
${myobject.name;render()='abc'}

@DJCordhose DJCordhose self-assigned this Aug 27, 2017
@DJCordhose DJCordhose added the bug label Aug 27, 2017
@DJCordhose
Copy link
Owner

I can reproduce this in current head with the following cases, already shown by tests added in commit f6cf67e:

  • if address= 'Filbert'
  • if address;string = 'Filbert'
  • if address;string() = 'Filbert'

Thanks for reporting, will fix ASAP

@DJCordhose
Copy link
Owner

Fixed in Commit 43803eb

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