Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MessageFormatter does not perform the full parsing at configuration time #158

Open
stof opened this issue Oct 23, 2018 · 0 comments
Open

Comments

@stof
Copy link
Member

stof commented Oct 23, 2018

When encountering nested tokens, they are parsed only during formatting, not when compiling the pattern.
And the type of tokens are validated only during the rendering as well. But the native implementation detects such error during the instantiation: https://3v4l.org/Sf69D
This means that the error handling required for the polyfill is not the same than for the native implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants