summaryrefslogtreecommitdiff
path: root/python/typeparser.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2022-08-31 23:01:04 -0400
committerGlenn Smith <glenn@vector35.com>2022-09-29 21:02:20 -0400
commit5c8aa2ad6c2c03b37cacad4021f81310be12f375 (patch)
treedde176e4283a10da5e0786421e27daf3e41e2c3b /python/typeparser.py
parent020bcb7dbfc172fd4c134be8a12d67355f4395e7 (diff)
Fix TypeParserResult annotated type
Diffstat (limited to 'python/typeparser.py')
-rw-r--r--python/typeparser.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/typeparser.py b/python/typeparser.py
index f4eba3cf..b6ea0c59 100644
--- a/python/typeparser.py
+++ b/python/typeparser.py
@@ -132,9 +132,9 @@ class BasicTypeParserResult:
@dataclasses.dataclass(frozen=True)
class TypeParserResult:
- types: Dict['types.QualifiedName', ParsedType]
- variables: Dict['types.QualifiedName', ParsedType]
- functions: Dict['types.QualifiedName', ParsedType]
+ types: List[ParsedType]
+ variables: List[ParsedType]
+ functions: List[ParsedType]
def __repr__(self):
return f"<types: {self.types}, variables: {self.variables}, functions: {self.functions}>"