From 23c57d7024767fef51e0382fa505974e1b71e521 Mon Sep 17 00:00:00 2001 From: Andrew Porter Date: Fri, 12 Jul 2024 16:55:38 +0100 Subject: [PATCH] #2125 add TODOs to LFRicTypes --- src/psyclone/domain/lfric/lfric_types.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/psyclone/domain/lfric/lfric_types.py b/src/psyclone/domain/lfric/lfric_types.py index 8a623ed00d..305bda150f 100644 --- a/src/psyclone/domain/lfric/lfric_types.py +++ b/src/psyclone/domain/lfric/lfric_types.py @@ -160,11 +160,14 @@ def _create_precision_from_const_module(): # Generate LFRic module symbols from definitions for module_info in modules: module_name = module_info.name.lower() - # Create the module (using a PSyIR ContainerSymbol) + # Create the module (using a PSyIR ContainerSymbol). + # TODO #2659 - this ContainerSymbol should be added to + # a SymbolTable! LFRicTypes._name_to_class[module_name] = \ ContainerSymbol(module_info.name) # Create the variables specified by the module (using - # PSyIR DataSymbols) + # PSyIR DataSymbols). TODO #2659 - these DataSymbols should + # be added to a SymbolTable! for module_var in module_info.vars: var_name = module_var.upper() interface = ImportInterface(LFRicTypes(module_name))