projectfluent / fluent

Fluent — planning, spec and documentation
https://projectfluent.org
Apache License 2.0
1.37k stars 43 forks source link

We should add a fixture test that verifies that only strings or numbers can be values of NamedArgument #325

Open zbraniecki opened 3 years ago

zbraniecki commented 3 years ago

I just discovered that fluent-rs allows for any inline expression to be a value of a NamedArgument and no fixture checks that.

rkh commented 3 years ago

Not sure this is the right place to ask, but what is the rational for only supporting strings and numbers as named arguments?