diff options
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 4868ded..e0745c2 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -479,11 +479,9 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta): LINKER_PREFIX = None # type: T.Union[None, str, T.List[str]] INVOKES_LINKER = True - # TODO: these could be forward declarations once we drop 3.5 support - if T.TYPE_CHECKING: - language = 'unset' - id = '' - warn_args = {} # type: T.Dict[str, T.List[str]] + language: str + id: str + warn_args: T.Dict[str, T.List[str]] def __init__(self, exelist: T.List[str], version: str, for_machine: MachineChoice, info: 'MachineInfo', |