paularmstrong/swig — comment on commit 88b494eb82350a067a2f32f42778e29401dfd9d9
File:  line 0
By kamranayub:

I was doing this before this commit and it wasn't working (maybe because I misunderstood how the syntax works):

```
exports.set = function (test) {
var tpl = swig.compile('{% for cell in cells %}{% set value = cell.value %}{{ value }}{% endfor %}');
test.strictEqual(tpl({ cells: [{ value: 'a' }, { value: 'b' }] }), 'ab');
test.done();

// baz = [Object object]
};
```

This was a separate issue from my `include` problems. I know I could easily do `{{ cell.value }}` but this is to show dot notation didn't work as I expected.