-
Notifications
You must be signed in to change notification settings - Fork 334
Open
Labels
-guid-intermediateDifficulty: some prior knowledge requiredDifficulty: some prior knowledge requiredp-mediumShould be completed in the next few sprintsShould be completed in the next few sprints
Milestone
Description
Every entry in the suggestion database may be referred to in two ways:
- Physical paths, representing where the entity is defined in library file tree: for example,
Standard.Base.Data.Boolean.BooleanrepresentsBooleantype defined inBooleanmodule stored insrc/Datadirectory ofStandard.Baseproject. - Logical paths, representing how the modules are reexported: for example,
Standard.Base.Boolean.Booleanmay representBooleantype defined inBooleanmodule reexported inMainmodule ofStandard.Baseproject.
The suggestion database fields contain only physical paths, and we want to keep it this way (as those are good for identification), but at any time we want to insert import, or substitute an identifier with is qualified name, it should be a logical path. The logical path should be specified by reading the reexport field to decide where the entity is reexported, and when that module is reexported, and so on until we reach Main of some library. Until #9351 is implemented, we should assume that every entry is reexported in a single place.
### Tasks
- [ ] https://github.com/enso-org/enso/issues/9572
- [ ] https://github.com/enso-org/enso/issues/9680
- [ ] https://github.com/enso-org/enso/issues/9681
- [ ] https://github.com/enso-org/enso/issues/9682
Metadata
Metadata
Assignees
Labels
-guid-intermediateDifficulty: some prior knowledge requiredDifficulty: some prior knowledge requiredp-mediumShould be completed in the next few sprintsShould be completed in the next few sprints
Type
Projects
Status
Design done