Skip to content

Removal of the scopePath element from the varList argument of addVar, removeVar, removeVarIfUnused, addModuleVar and isVarUsed #30

Description

@SebastienRietteMTO

The addVar, removeVar, removeVarIfUnused, addModuleVar and isVarUsed methods use a varList argument whose first element is a scope path.
It would be better (from an object-oriented point of view) to suppress this path and to call these different methods directly on the right scope.

For instance self.addVar([[scope.path, 'I', 'INTEGER :: I', None]]) would become scope.addVar([['I', 'INTEGER :: I', None]]).

This feature can be implemented using the --restrictScope argument defined in scripting.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions