Skip to content

Commit

Permalink
Ensure composite_types is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Willmac16 committed Jan 4, 2024
1 parent 9c99f30 commit 8269333
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pycyphal/dsdl/_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def compile( # pylint: disable=redefined-builtin
language_context = nunavut.lang.LanguageContextBuilder().set_target_language("py").create()

root_namespace_name: str = ""
composite_types: list[pydsdl.CompositeType] = []

if root_namespace_directory is not None:
root_namespace_directory = pathlib.Path(root_namespace_directory).resolve()
Expand Down

0 comments on commit 8269333

Please sign in to comment.