CompileCtx.sorted_parse_fields: fix type annotation

TN: U401-024
This commit is contained in:
Pierre-Marie de Rodat
2022-02-03 13:50:58 +00:00
committed by Raphaël AMIARD
parent 8d498ebb0c
commit fd547eeed3

View File

@@ -724,7 +724,7 @@ class CompileCtx:
``self.sorted_public_structs``. Used to generate the introspection API.
"""
self.sorted_parse_fields: Optional[Field] = None
self.sorted_parse_fields: Optional[List[Field]] = None
"""
Sorted list of all parsing fields, minus fields that override abstract
ones. Used to generate the AST node introspection API.