-
Notifications
You must be signed in to change notification settings - Fork 334
Description
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 proper private 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 separate sbt project that depends only on runtime-parser and applies some changes to the sources.
### Tasks
- [ ] Investigate using `TextEdit`, `ChangesetBuilder` and co. for the refactoring (add new sbt project)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status