CMakePP / CMakePPLang

Object-oriented extension to the CMake language.
http://cmakepp.github.io/CMakePPLang/
Apache License 2.0
11 stars 4 forks source link

Fix incorrect flatten_args with default vals, fix duplicated test section names #130

Closed AutonomicPerfectionist closed 8 months ago

AutonomicPerfectionist commented 8 months ago

Is this pull request associated with an issue(s)? Fixes #129 and #128

Description This PR fixes two duplicated test section names discovered by https://github.com/CMakePP/CMakeTest/pull/94 In doing so, however, a bug was revealed where inherited attributes did not have their default values. This PR also fixes that issue.

Side note There appears to be code in _cpp_object_get_attr_guts that assumes non-flattened attributes and that only the attributes defined in the class itself would be stored in the attrs meta-attribute. Is there a particular reason flattening the arguments was needed?

github-actions[bot] commented 8 months ago

🚀 [bumpr] Bumped! New version:v1.0.6 Changes:v1.0.5...v1.0.6