Closed jwest115 closed 3 months ago
Example:
module Components { module Nested { @ Component to blink an LED driven by a rate group active component Led { ... } } }
Expected lines in TopologyAc.hpp and TopologyAc.cpp:
TopologyAc.hpp
TopologyAc.cpp
//! led extern Components::Nested::Led led;
Components::Nested::Led led(FW_OPTIONAL_NAME("led"));
Actual:
//! led extern Nested::Components::Led led;
Nested::Components::Led led(FW_OPTIONAL_NAME("led"));
Was able to trace it back to this line in TopologyCppWriterUtils.scala
TopologyCppWriterUtils.scala
Good catch! It's a bug in the management of qualified names. I'll submit a fix.
Example:
Expected lines in
TopologyAc.hpp
andTopologyAc.cpp
:Actual:
Was able to trace it back to this line in
TopologyCppWriterUtils.scala