aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-06-14 20:37:57 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-06-17 14:33:01 -0400
commitedb38fd6f64f9b3b4f2fd7ef17cc3eddc9d0d7ad (patch)
tree8ec09e29210febc04529ac673eafef218693ef7e /mesonbuild/interpreter
parentc1aeb2f7e4ef81a046ca28d5dad89bb8fdeefafd (diff)
downloadmeson-edb38fd6f64f9b3b4f2fd7ef17cc3eddc9d0d7ad.zip
meson-edb38fd6f64f9b3b4f2fd7ef17cc3eddc9d0d7ad.tar.gz
meson-edb38fd6f64f9b3b4f2fd7ef17cc3eddc9d0d7ad.tar.bz2
fix confusing incorrect default name for a KwargInfo
We can use this lots of places, and it's always the same kwarg. There doesn't seem to be a point in naming it badly, then evolving it to the standard name in the one place it is currently used. This made it not shareable.
Diffstat (limited to 'mesonbuild/interpreter')
-rw-r--r--mesonbuild/interpreter/type_checking.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/type_checking.py b/mesonbuild/interpreter/type_checking.py
index d3f2d34..ec23f36 100644
--- a/mesonbuild/interpreter/type_checking.py
+++ b/mesonbuild/interpreter/type_checking.py
@@ -328,7 +328,7 @@ CT_BUILD_ALWAYS_STALE: KwargInfo[T.Optional[bool]] = KwargInfo(
INSTALL_DIR_KW: KwargInfo[T.Optional[str]] = KwargInfo('install_dir', (str, NoneType))
INCLUDE_DIRECTORIES: KwargInfo[T.List[T.Union[str, IncludeDirs]]] = KwargInfo(
- 'include_dirs',
+ 'include_directories',
ContainerTypeInfo(list, (str, IncludeDirs)),
listify=True,
default=[],