646cdb56e5
N.B. This implementation does not 100% prevent conflicts or resolve alterations when shortening functions. To guarantee that, we would need to carefully consider all the references in the file, and to check whether they have changed their resolve in the presence of a new import. This is not trivial and will be approached separately under a different task. ^KTIJ-27841 Fixed