Schould it be "null = null" oder something else? #25
h-man2
started this conversation in
OCL Specification
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently, USE answers the question
null = nullwithtrueThis can lead to situations that unintentionally supress errors in expressions.
For example, consider the following post-condition:
Evaluated on an empty list this evaluates to
true, but this hides the erroneous accesssubSequence(1, 0)if called withinsertAt('one', 1).Any opinions on that?
All reactions