You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Documenting the following command:
set(MyString "String"PARENT_SCOPE)
Documents the variable MyString as a List with the initial values String PARENT_SCOPE
Expected behavior
We should probably check for the PARENT_SCOPE flag, remove it from the type
and default value calculations, and flag it in the generated documentation.
I think adding a note that it sets in the parent scope should be sufficient.
I believe this affects other set() flags like CACHE
The text was updated successfully, but these errors were encountered:
AutonomicPerfectionist
changed the title
[BUG] Documenting a set() command with PARENT_SCOPE generates incorrect documentation
[BUG] Documenting a set() command with PARENT_SCOPE (or other flags) generates incorrect documentation
May 16, 2023
Describe the bug
Documenting the following command:
Documents the variable MyString as a List with the initial values
String PARENT_SCOPE
Expected behavior
We should probably check for the PARENT_SCOPE flag, remove it from the type
and default value calculations, and flag it in the generated documentation.
I think adding a note that it sets in the parent scope should be sufficient.
I believe this affects other
set()
flags likeCACHE
The text was updated successfully, but these errors were encountered: