Cleanup pass to remove refactoring-related artifacts and references
This commit is contained in:
@@ -30,7 +30,7 @@ type EnrichedCorrectionProposal struct {
|
||||
|
||||
// Validate checks only basic structural integrity of the proposal.
|
||||
// Semantic checks (staleness, span presence, replacement behavior) are handled
|
||||
// by later proposal preview/application and validator phases.
|
||||
// by proposal preview/application and validator execution.
|
||||
func (p CorrectionProposal) Validate() error {
|
||||
if p.TargetSegmentID <= 0 {
|
||||
return fmt.Errorf("proposal id must be positive")
|
||||
|
||||
Reference in New Issue
Block a user