Biohazrd icon indicating copy to clipboard operation
Biohazrd copied to clipboard

BrokenDeclarationExtractor should protect against invalid edits

Open PathogenDavid opened this issue 3 years ago • 0 comments

BrokenDeclarationExtractor should be augmented to have some awareness for the things it is removing. For instance, if a parameter is removed it should actually remove the parent function since removing the parameter is a semantic change that would result in a totally broken function.

Even though it would be pretty annoying if this happened, I'm considering this to be a low priority since there'd be an associated diagnostic in the output.

PathogenDavid avatar Jul 04 '21 12:07 PathogenDavid