mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-06-25 19:06:27 -06:00
cc014e659f
GF.Compile.Optimize.mkLinReference can fail and cause this error because the helper function inside it applies msum to a list that might be empty (if there is a record type that does not contain a field of type Str). This means that it can return mzero::Err, i.e. Bad "error (no reason given)" which can slip through the top level test that only catches Bad "no string".