You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to allow list-typed selectors in select-expression which would lead to ambiguous syntax in constructs like { LIST(foo, bar, baz -> … )}. A work-around currently exists:
{ LIST(foo, "{bar, baz -> … }")}
I suggest we introduce explicit syntax for grouping which will instruct the parser unambiguously about the order of expressions. The proposed syntax is { … } for grouping:
Goal
Give users more control when working with lists.
Description
We want to allow list-typed selectors in
select-expression
which would lead to ambiguous syntax in constructs like{ LIST(foo, bar, baz -> … )}
. A work-around currently exists:{ LIST(foo, "{bar, baz -> … }")}
I suggest we introduce explicit syntax for grouping which will instruct the parser unambiguously about the order of expressions. The proposed syntax is
{ … }
for grouping:{ LIST(foo, {bar, baz -> … })}
Discussion
https://groups.google.com/forum/#!topic/mozilla.tools.l10n/YBNCSp7J0zU
The text was updated successfully, but these errors were encountered: