test = {{0 ->
[0] x
*[other] y
} ->
[x] It’s X.
*[other] It’s not X.
}
According to the spec (abstract.js), this is well-formed yet not valid Fluent. However, this case is not enforced in getExpression, and thus the code is correctly parsed and evaluates to It’s X..
I’m currently implementing Fluent in D Programming Language and wonder whether it is a bug in the spec or the implementation (i.e. whether I need to support it or not). Could you clarify it, please?