Closed jpd236 closed 2 years ago
If lower-case characters are entered as an Acrostic solution, we fail to generate a grid key since letters are assumed to be upper-case in a few places at https://github.com/jpd236/kotwords/blob/master/src/commonMain/kotlin/com/jeffpdavidson/kotwords/model/Acrostic.kt. This results in a fairly confusing error message.
At a minimum, clarifying the error would be nice. We could probably just go ahead and convert to upper-case since that's the clear intent here, and perhaps audit other forms for the same strictness.
This should be fixed now (and pushed). Every form field which is used to enter solutions is now converted to upper case.
If lower-case characters are entered as an Acrostic solution, we fail to generate a grid key since letters are assumed to be upper-case in a few places at https://github.com/jpd236/kotwords/blob/master/src/commonMain/kotlin/com/jeffpdavidson/kotwords/model/Acrostic.kt. This results in a fairly confusing error message.
At a minimum, clarifying the error would be nice. We could probably just go ahead and convert to upper-case since that's the clear intent here, and perhaps audit other forms for the same strictness.