Closed lwrage closed 4 years ago
PropertiesScopeProvider contains this code:
def scope_BasicPropertyAssociation_property(Element context, EReference reference) {
var parent = switch context {
BasicPropertyAssociation case context.property.propertyType === null:
context.owner
default:
context
}
...
Removing case context.property.propertyType === null
seems to fix the issue.
Summary
When renaming a record filed only the name in the declaration is updated.
Expected and Current Behavior
All use sites are reported as problematic: "Refactoring introduces a name conflict." There is no real conflict.
Steps to Reproduce
Environment