SIGN IN SIGN UP

refactor: Check for empty constant prefix while renaming ref

This commit checks if the constant prefix of the ref is non-empty
before checking if it's a prefix of a source
ref. This is seen for example, when the ref represents a function call.

Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
A
Ashutosh Narkar committed
4778996efb02bfa0b560ee6b1acfe8ff47cc5acd
Parent: 27d658c