nasa / trick

Trick Simulation Environment. Trick provides a common set of simulation capabilities and utilities to build simulations automatically.
Other
32 stars 16 forks source link

AttributeError not being raised in SWIG 4 when making an improper ass… #1603

Closed alexlin0 closed 10 months ago

alexlin0 commented 10 months ago

…ignment in input processor #1288

In convert_swig added a line to override the setattr function. This makes the new SWIG behave like older SWIG versions. the _swig_setattr_nondynamic_instance_variable function is provided by SWIG and is similar to what our version of _swig_setattr_nondynamic above is. If later we need to override _swig_setattr_nondynamic_instance_variable it can be done the same way as before.

coveralls commented 10 months ago

Coverage Status

coverage: 55.743%. remained the same when pulling 7bf88ca95f41515a79e345cf22cd16faabe31821 on NoAttributeError into 80f341f5e78e265a52112611e4af6ddc10b53384 on master.