summaryrefslogtreecommitdiff
path: root/mesonbuild/ast/postprocess.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/ast/postprocess.py')
-rw-r--r--mesonbuild/ast/postprocess.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/ast/postprocess.py b/mesonbuild/ast/postprocess.py
index 09c339dd6..7d2036ed4 100644
--- a/mesonbuild/ast/postprocess.py
+++ b/mesonbuild/ast/postprocess.py
@@ -80,7 +80,7 @@ class AstIndentationGenerator(AstVisitor):
class AstIDGenerator(AstVisitor):
def __init__(self) -> None:
- self.counter = {} # type: T.Dict[str, int]
+ self.counter: T.Dict[str, int] = {}
def visit_default_func(self, node: mparser.BaseNode) -> None:
name = type(node).__name__