aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/vs2017backend.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-04-09 14:30:50 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2018-04-12 00:51:06 +0300
commit58f063978e5463f07fc76ba81948ab61ffe74a77 (patch)
treeb9d41889d42e99571928a61f1b5c64ecf60ef960 /mesonbuild/backend/vs2017backend.py
parentb1c086b24d9e10fb84f54583b2ac03e77653652e (diff)
downloadmeson-58f063978e5463f07fc76ba81948ab61ffe74a77.zip
meson-58f063978e5463f07fc76ba81948ab61ffe74a77.tar.gz
meson-58f063978e5463f07fc76ba81948ab61ffe74a77.tar.bz2
coredata: UserOption subclasses only need to implement validate_value()
Implementing set_value() in the base class simplifies the code and ensure validation is always consistent. This fix UserIntegerOption.validate_value() not checking min/max value, and UserArrayOption.validate_value() raising exception because it does not pass a value for user_input argument of validate() method.
Diffstat (limited to 'mesonbuild/backend/vs2017backend.py')
0 files changed, 0 insertions, 0 deletions