summaryrefslogtreecommitdiff
path: root/mesonbuild/optinterpreter.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-03-12 11:02:07 -0700
committerDylan Baker <dylan@pnwbakers.com>2025-04-08 10:00:16 -0700
commit390ea4624c2fbfecf831f1c7f34ec796ff410de7 (patch)
tree347a332c2730d923550ad590d271a6af1f0027d3 /mesonbuild/optinterpreter.py
parent00864ca481c4e29d7f5c648a1e12b934dfa642d2 (diff)
downloadmeson-390ea4624c2fbfecf831f1c7f34ec796ff410de7.tar.gz
coredata: move MutableKeyedOptionDict to options
Diffstat (limited to 'mesonbuild/optinterpreter.py')
-rw-r--r--mesonbuild/optinterpreter.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/optinterpreter.py b/mesonbuild/optinterpreter.py
index c33306d5c..892d4d5e3 100644
--- a/mesonbuild/optinterpreter.py
+++ b/mesonbuild/optinterpreter.py
@@ -15,7 +15,6 @@ from .interpreterbase import FeatureNew, FeatureDeprecated, typed_pos_args, type
from .interpreter.type_checking import NoneType, in_set_validator
if T.TYPE_CHECKING:
- from . import coredata
from .interpreterbase import TYPE_var, TYPE_kwargs
from .interpreterbase import SubProject
from typing_extensions import TypedDict, Literal
@@ -67,7 +66,7 @@ optname_regex = re.compile('[^a-zA-Z0-9_-]')
class OptionInterpreter:
def __init__(self, optionstore: 'OptionStore', subproject: 'SubProject') -> None:
- self.options: 'coredata.MutableKeyedOptionDictType' = {}
+ self.options: options.MutableKeyedOptionDictType = {}
self.subproject = subproject
self.option_types: T.Dict[str, T.Callable[..., options.AnyOptionType]] = {
'string': self.string_parser,