-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
For rename refactoring (and possibly other applications), we need to find the exact location of names to rename. In the case of definitions, we only have the location of the whole definition (e.g. function annotations+signature+body). The name is contained in the signature and analysis of the parse tree is required to find its exact location.
It would be very helpful if a TModel maps definition locations to locations of their names. This should be done in a backwards-compatible manner, so existing type checkers or code consuming TModels do not break.