CodeGen::_Assign() Added a detection when a variable is created via <inputmsg>.at(), adding the variables identifier to self._standalone_message_var.
CodeGen::dispatchMemberFunction() Check whether the variable can be found inside self._standalone_message_var, if so treat it similar to an input message iterator.
Associated new test case.
Note:
Potential issue that these variables are never removed from the list, e.g. if they should be going out of scope.
This change:
CodeGen::_Assign()
Added a detection when a variable is created via<inputmsg>.at()
, adding the variables identifier toself._standalone_message_var
.CodeGen::dispatchMemberFunction()
Check whether the variable can be found insideself._standalone_message_var
, if so treat it similar to an input message iterator.Note: Potential issue that these variables are never removed from the list, e.g. if they should be going out of scope.
Closes #1110