alexdcramer / OLing

A Java library to help model languages.
Apache License 2.0
0 stars 0 forks source link

StackOverflowError when checking if words are equal #4

Closed alexdcramer closed 3 months ago

alexdcramer commented 3 months ago

Per stack trace: https://pastebin.com/Wfc8fKVr

This seems to be related to synonyms and homonyms, as this does not happen in the old unit test file...

alexdcramer commented 3 months ago

this is a homonym/synonym issue; one fix could be just to remove that from equality checking as there shouldn't really be a situation where the other words in a language that are the same are somewhat different...

alexdcramer commented 3 months ago

The issue is now fixed on the issue branch, but the errors that appeared here emphasize the need for up-to-date unit tests. Another issue for those may be helpful.