diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-02-26 12:47:48 -0800 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-02-27 23:33:39 +0200 |
| commit | d9f3f6c0b27476edc84ccddecb373af88fde1053 (patch) | |
| tree | 5d6790e0979d8478323743e90fd8d2205a9a70c5 /mesonbuild/compilers/compilers.py | |
| parent | 9300c3af91373b129deaa0255a9eb2f1ab2b309e (diff) | |
| download | meson-d9f3f6c0b27476edc84ccddecb373af88fde1053.tar.gz | |
use ElementaryOptionValues instead of open coding... again
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
| -rw-r--r-- | mesonbuild/compilers/compilers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index e4c7f7744..7e061ba47 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1419,7 +1419,7 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta): env: Environment, target: T.Optional[BuildTarget], subproject: T.Optional[str] = None - ) -> T.Union[str, int, bool, T.List[str]]: + ) -> options.ElementaryOptionValues: if isinstance(key, str): key = self.form_compileropt_key(key) if target: |
