variables should not be named 'item' etc.
Variable names shadow control names, so e.g. in ‘list(item in items) { item { .. } }’ the 2nd occurrence of ‘item’ triggers an error “Expression does not return a control type” (which doesn’t help all that much).
(similar to #39)
Submitted by Meinte Boersma on 7 March 2011 at 16:01
Issue Log
On 7 March 2011 at 16:26 Zef Hemel commented:
Need better error messages indeed. Way to work around it: use full qualified ids for the control, e.g.
mobl::ui::generic::item(...)
Log in to post comments