aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/swift.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-10-22 23:42:58 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2022-10-24 15:16:02 +0300
commite27653499a20b48c25424f645aae23d9dbca91af (patch)
tree07ca64ee01f9b1c6549ec89aed33336fefc3c169 /mesonbuild/compilers/swift.py
parent9c4d6088b1f061c7cd8dba00eda5e72427ad3d0e (diff)
downloadmeson-e27653499a20b48c25424f645aae23d9dbca91af.zip
meson-e27653499a20b48c25424f645aae23d9dbca91af.tar.gz
meson-e27653499a20b48c25424f645aae23d9dbca91af.tar.bz2
add option to typed_kwargs that allows unknown kwargs through
Some functions cannot be fully type checked, because our API allows fully arbitrary kwargs and treats them as data to pass through to the underlying feature. For example, hotdoc command line arguments. This change allows us to type check some kwargs with known types and possibly required status, and make their values consistent(ly defaultable), while preserving the optional nature of the additional kwargs.
Diffstat (limited to 'mesonbuild/compilers/swift.py')
0 files changed, 0 insertions, 0 deletions