Skip to content

Soy: let command not recognized #9

rapodaca opened this Issue Mar 7, 2012 · 2 comments

2 participants

rapodaca commented Mar 7, 2012

According to this:

The "let" command can be used to assign a variable.


{let $foo: 'foo' /}


{let $foo: $item /} // where $item is a defined parameter

Generates an error:

"no viable alternative to input "$foo"".

Both version appear to compile fine and do the expected thing.

Could it be that the Soy template library used by the Eclipse plugin is out-of-date?

vtst commented Mar 7, 2012

I was not aware of this construct, I used the user documentation to develop the plugin.
I'll implement it. Thanks for the info.

@vtst vtst was assigned Mar 7, 2012
vtst commented Mar 8, 2012

This is implemented in the codebase, and will be available in the next release.

@vtst vtst closed this Mar 8, 2012
@vtst vtst added a commit that referenced this issue Mar 8, 2012
@vtst Issue #9: let command fb63c18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.