@@ -80,7 +80,7 @@ standard library package Occurrences {
8080 */
8181
8282 /* withoutOccurrences is irreflexive. */
83- inv { (that as Occurrence) != (self as Occurrence) }
83+ inv { (that as Occurrence) != (that.that as Occurrence) }
8484 }
8585
8686 feature predecessors: Occurrence[0..*] subsets withoutOccurrences {
@@ -323,7 +323,7 @@ standard library package Occurrences {
323323 * is none when the startShot and endShot are the same.
324324 */
325325 }
326- inv { isEmpty(middleTimeSlice) == (startShot == endShot) }
326+ inv { isEmpty((this as Occurrence). middleTimeSlice) == ((this as Occurrence). startShot == (this as Occurrence). endShot) }
327327
328328 connector :HappensJustBefore
329329 from earlierOccurrence references startShot [1]
@@ -519,7 +519,7 @@ standard library package Occurrences {
519519 inv { spaceBounderOf.spaceBoundary == that.that }
520520 }
521521
522- inv { not isClosed implies contains(self .unionsOf, union(spaceBoundary, spaceInterior)) }
522+ inv { not isClosed implies contains((this as Occurrence) .unionsOf, union(spaceBoundary, spaceInterior)) }
523523 inv { innerSpaceDimension == 0 implies isEmpty(spaceBoundary) }
524524
525525 connector :SurroundedBy
@@ -568,7 +568,7 @@ standard library package Occurrences {
568568 * Tells whether an occurrence has a spaceBoundary, true if it does, false otherwise.
569569 */
570570 }
571- inv { isClosed == isEmpty(spaceBoundary) }
571+ inv { isClosed == isEmpty((this as Occurrence). spaceBoundary) }
572572
573573 feature incomingTransfers: Transfers::Transfer[0..*] subsets Transfers::transfers {
574574 doc
@@ -614,9 +614,8 @@ standard library package Occurrences {
614614 */
615615
616616 end feature redefines source;
617- end feature redefines target;
617+ end feature redefines target = that ;
618618 }
619- binding incomingTransfersToSelf.target = self;
620619
621620 feature outgoingTransfers: Transfers::Transfer[0..*] subsets Transfers::transfers {
622621 doc
@@ -634,10 +633,9 @@ standard library package Occurrences {
634633 * The outgoing transfers with this occurrence as the source.
635634 */
636635
637- end feature redefines source;
636+ end feature redefines source = that ;
638637 end feature redefines target;
639638 }
640- binding outgoingTransfersFromSelf.source = self;
641639 }
642640
643641 abstract class all Life specializes Occurrence {
0 commit comments