Use private keyword instead of doc tag in stdlibs #9762
Labels
-libs
Libraries: New libraries to be implemented
d-easy
Difficulty: little prior knowledge required
x-chore
Type: chore
x-on-hold
x-refactor
Changes that should not be visible to the end-user
Milestone
After #9692, the engine now supports
private
constructors. Let's change all the constructors in our stdlib codebase that use##PRIVATE
doc tag to use the properprivate
keyword and ensure that they are checked for private access at runtime.Follow-up of #8836
Let's not do this change with a text / regex / grep replacements. Let's try to make this change more sophisticated and use already existing infrastructure to traverse the IR of all our modules and make the changes in the underlying text buffer. There is org.enso.text.editing.model.TextEdit in the
text-buffer
project. There is also org.enso.compiler.context.ChangesetBuilder. As part of this issue, investigate how this infrastructure can be used for these kinds of refactorings. Not only it would potentially save time, but it would also be more safe. This refactoring can be implemented as a separatesbt
project that depends only onruntime-parser
and applies some changes to the sources.Tasks
The text was updated successfully, but these errors were encountered: