Currently, only segments can have a visibility modifier. However, a visibility modifier would be useful for, say, classes, if they are only used for typing.
Desired solution
Allow internal/private for any module member.
Add a semantic check to disable them for pipelines (not in index) and functions (can just be omitted).
Is your feature request related to a problem?
Currently, only segments can have a visibility modifier. However, a visibility modifier would be useful for, say, classes, if they are only used for typing.
Desired solution
internal
/private
for any module member.Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response