elan-language / LanguageAndIDE

Apache License 2.0
3 stars 1 forks source link

Review the fields in an assert statement #825

Closed richardpawson closed 3 weeks ago

richardpawson commented 3 weeks ago

After review, I have concluded that it is difficult make the fields simpler. The 'actual' field is a Term - the same as the LHS of a binary expression in fact.

This is implemented as the alternatives of SimpleTerm and ChainedTerm. Both are needed, because without the second it is not possible to reference an element of an array, directly.