[agent/codex:gpt-5.4-mini] Read ~/spec/code/core/go/i18n/RFC.md fully. Find features de... #185

Merged
Virgil merged 1 commit from agent/read---spec-code-core-go-i18n-rfc-md-ful into dev 2026-04-02 09:30:36 +00:00
2 changed files with 8 additions and 0 deletions

View file

@ -380,6 +380,9 @@ func applyRegularPastTense(verb string) string {
return verb[:len(verb)-1] + "ied"
}
}
if core.HasSuffix(verb, "c") {
return verb + "ked"
}
if len(verb) >= 2 && shouldDoubleConsonant(verb) {
return verb + string(verb[len(verb)-1]) + "ed"
}
@ -437,6 +440,9 @@ func applyRegularGerund(verb string) string {
return verb[:len(verb)-1] + "ing"
}
}
if core.HasSuffix(verb, "c") {
return verb + "king"
}
if shouldDoubleConsonant(verb) {
return verb + string(verb[len(verb)-1]) + "ing"
}

View file

@ -104,6 +104,7 @@ func TestPastTense(t *testing.T) {
{"push", "pushed"},
{"pull", "pulled"},
{"start", "started"},
{"panic", "panicked"},
{"copy", "copied"},
{"apply", "applied"},
@ -170,6 +171,7 @@ func TestGerund(t *testing.T) {
{"push", "pushing"},
{"pull", "pulling"},
{"start", "starting"},
{"panic", "panicking"},
{"die", "dying"},
// Edge cases