Skip to content

Commit 37aed08

Browse files
author
Ed Seidewitz
committed
Corrected to avoid invocationExpressionAssignmentsAfter violation.
1 parent cc2759a commit 37aed08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

org.modeldriven.alf/tests-x/Interactive_Read.alf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ activity Interactive_Read() {
88

99
WriteLine("read Integer, Boolean, UnlimitedNatural:");
1010

11-
WriteLine(IntegerFunctions::ToString(StandardInputChannel.allInstances().readInteger(status)));
11+
WriteLine(IntegerFunctions::ToString(StandardInputChannel.allInstances()[1].readInteger(status)));
1212
WriteLine(status.description);
1313

14-
WriteLine(BooleanFunctions::ToString(StandardInputChannel.allInstances().readBoolean(status)));
14+
WriteLine(BooleanFunctions::ToString(StandardInputChannel.allInstances()[1].readBoolean(status)));
1515
WriteLine(status.description);
1616

17-
WriteLine(UnlimitedNaturalFunctions::ToString(StandardInputChannel.allInstances().readUnlimitedNatural(status)));
17+
WriteLine(UnlimitedNaturalFunctions::ToString(StandardInputChannel.allInstances()[1].readUnlimitedNatural(status)));
1818
WriteLine(status.description);
1919
}

0 commit comments

Comments
 (0)