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

ICU-22747 MF2: Validate values of integer-valued options for :number and :integer #2973

Draft
wants to merge 1 commit into
base: maint/maint-75
Choose a base branch
from

Commits on Apr 18, 2024

  1. ICU-22747 MF2: Validate values of integer-valued options for :number …

    …and :integer
    
    Previously, it wasn't an error to write a message like::
    
    .local $foo = {1 :integer minimumIntegerDigits=foo} {{$foo}}
    
    This is an error according to the spec, because the `minimumIntegerDigits`
    option to `:integer` must have a value that's a non-negative integer.
    
    This change adds validation of options that must be integer-valued
    to the implementations of the built-in `:integer` and `:number` functions.
    Other options (most of which have small sets of string values that are
    allowed as valid options) are not validated yet.
    catamorphism committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    1e0e151 View commit details
    Browse the repository at this point in the history