From fd547eeed3052fe6d53843c4601ef6cf59cd8751 Mon Sep 17 00:00:00 2001 From: Pierre-Marie de Rodat Date: Thu, 3 Feb 2022 13:50:58 +0000 Subject: [PATCH] CompileCtx.sorted_parse_fields: fix type annotation TN: U401-024 --- langkit/compile_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langkit/compile_context.py b/langkit/compile_context.py index 7b3c58a1f..59939cc3e 100644 --- a/langkit/compile_context.py +++ b/langkit/compile_context.py @@ -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.