You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: org.modeldriven.alf.eclipse.papyrus/Libraries/resources/error-messages.txt
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
arithmeticExpressionOperandTypes
2
2
Illegal operand types.
3
-
The operands of an arithmetic expression must both have type Integer or Real, unless the operator is + or %. If the operator is +, then both operands may also both have type String. If the operator is %, then both operands must have type Integer.
3
+
The operands of an arithmetic expression must both have a type that conforms to type Integer or Real, unless the operator is + or %. If the operator is +, then both operands may also both have type a type that conforms to String. If the operator is %, then both operands must have a type that conforms to type Integer.
4
4
5
5
assignmentExpressionAssignmentsBefore
6
6
@@ -12,7 +12,7 @@ For a compound assignment, both the left-hand and right-hand sides must have a m
For a compound assignment, if the operator is an arithmetic operator, then either the left-hand side and the right-hand side both have type Integer, the left-hand side has type Real and the right-hand side has type Integer or Real, or they both have type String and the operator is +. If the operator is a logical operator, then either the left-hand side and the right-hand side both have type Boolean or Bit String or the left-hand side has type Bit String and the right-hand side has type Integer. If the operator is a shift operator, then the left-hand side must have type Bit String and the right-hand side must have type Integer.
15
+
For a compound assignment, if the operator is an arithmetic operator, then either the left-hand side and the right-hand side both have a type that conforms to type Integer, the left-hand side has a type that conforms to type Real and the right-hand side has a type that conforms to type Integer or Real, or they both have a type that conforms to type String and the operator is +. If the operator is a logical operator, then either the left-hand side and the right-hand side both have a type that conforms to type Boolean or Bit String or the left-hand side has type Bit String and the right-hand side has a type that conforms to type Integer. If the operator is a shift operator, then the left-hand side must have a type that conforms to type Bit String and the right-hand side must have a type that conforms to type Integer.
16
16
17
17
assignmentExpressionDataValueUpdateLegality
18
18
Illegal data value update.
@@ -48,11 +48,11 @@ The operands of a binary expression must both have a multiplicity upper bound no
48
48
49
49
bitStringUnaryExpressionOperand
50
50
Operand must have type BitString or Integer and multiplicity upper bound of 1.
51
-
The operand expression of a BitString unary expression must have type BitString or Integer and a multiplicity upper bound of 1.
51
+
The operand expression of a BitString unary expression must have a type that conforms to type BitString or Integer and a multiplicity upper bound of 1.
52
52
53
53
booleanUnaryExpressionOperand
54
54
Operand must have type Boolean and multiplicity upper bound of 1.
55
-
The operand expression of a Boolean unary expression must have type Boolean and a multiplicity upper bound of 1.
55
+
The operand expression of a Boolean unary expression must have a type that conforms to type Boolean and a multiplicity upper bound of 1.
56
56
57
57
castExpressionAssignmentsBefore
58
58
@@ -76,7 +76,7 @@ The type name in a classification expression must resolve to a non-template clas
76
76
77
77
conditionalLogicalExpressionOperands
78
78
Operands must have type Boolean.
79
-
The operands of a conditional logical expression must have type Boolean.
79
+
The operands of a conditional logical expression must have a type that conforms to type Boolean.
80
80
81
81
conditionalTestExpressionAssignmentsAfter
82
82
@@ -88,7 +88,7 @@ The assignments before the first operand expression of a conditional-test expres
88
88
89
89
conditionalTestExpressionCondition
90
90
First operand must have type Boolean and multiplicity upper bound of 1.
91
-
The first operand expression of a conditional-test expression must be of type Boolean and have a multiplicity upper bound of 1.
91
+
The first operand expression of a conditional-test expression must be of a type that conforms to type Boolean and have a multiplicity upper bound of 1.
92
92
93
93
expressionUniqueAssignments
94
94
@@ -128,15 +128,15 @@ The target expression of the feature reference may not be untyped, nor may it ha
128
128
129
129
forAllOrExistsOrOneExpressionArgument
130
130
Argument must have type Boolean and multiplicity upper bound of 1.
131
-
The argument of a forAll, exists or one expression must have type Boolean and a multiplicity upper bound of 1.
131
+
The argument of a forAll, exists or one expression must have a type that conforms to type Boolean and a multiplicity upper bound of 1.
132
132
133
133
incrementOrDecrementExpressionAssignmentsBefore
134
134
135
135
The assignments before the operand of an increment or decrement expression are the same as those before the increment or decrement expression.
136
136
137
137
incrementOrDecrementExpressionOperand
138
138
Operand must have a type Integer or Real and multiplicity upper bound of 1.
139
-
The operand expression must have type Integer or Real and a multiplicity upper bound of 1.
139
+
The operand expression must have a type that conforms to type Integer or Real and a multiplicity upper bound of 1.
140
140
141
141
instanceCreationExpressionConstructor
142
142
Constructor name must resolve to a compatible constructor operation, class or data type.
@@ -221,7 +221,7 @@ If the target of a name left-hand side disambiguates to a feature reference, the
221
221
222
222
numericUnaryExpressionOperand
223
223
Operand must have a type Integer or Real and multiplicity upper bound of 1.
224
-
The operand expression must have type Integer or Real and a multiplicity upper bound of 1.
224
+
The operand expression must have a type that conforms to type Integer or Real and a multiplicity upper bound of 1.
225
225
226
226
outputNamedExpressionForm
227
227
Illegal for output named expression.
@@ -257,11 +257,11 @@ If the unqualified name of a qualified name has a template binding, then the tem
257
257
258
258
relationalExpressionOperandTypes
259
259
Operands must either both have type Natural, Integer or Real, or both have type Natural or UnlimitedNatural.
260
-
The operand expressions for a comparison operator must both be of type Natural, Integer or Real, or both be of type Natural or UnlimitedNatural.
260
+
The operand expressions for a comparison operator must both be of a type that conforms to type Natural, Integer or Real, or both be of a type that conforms to type Natural or UnlimitedNatural.
261
261
262
262
selectOrRejectExpressionArgument
263
263
Argument must have type Boolean and multiplicity upper bound of 1.
264
-
The argument of a select or reject expression must have type Boolean and a multiplicity upper bound of 1.
264
+
The argument of a select or reject expression must have a type that conforms to type Boolean and a multiplicity upper bound of 1.
265
265
266
266
sequenceAccessExpressionIndexMultiplicity
267
267
Index expression multiplicity upper bound must be 1.
@@ -277,7 +277,7 @@ If the elements of a sequence construction expression are given by a sequence ex
277
277
278
278
sequenceConstructionExpressionElementType
279
279
Element types not compatible with the expression type.
280
-
If the elements of a sequence construction expression are given by a sequence range, then the expression must have type Integer. If the expression does not have multiplicity, then its type must be a collection class.
280
+
If the elements of a sequence construction expression are given by a sequence range, then the expression must have a type that conforms to type Integer. If the elements are given by a sequence element list, and the sequence construction expression has a non-empty type, then each expression in the list must have a type that either conforms to the type of the sequence construction expression or is convertible to it by bit string conversion or real conversion.
281
281
282
282
sequenceConstructionExpressionType
283
283
Type cannot be empty, cannot be a template and must either have a multiplicity indicator or be a template class instantiation.
@@ -341,7 +341,7 @@ The referent behavior must have two in parameters, a return parameter and no oth
341
341
342
342
shiftExpressionOperands
343
343
First operand must have type BitString or Integer; second operand must have type Integer.
344
-
The first operand expression of a shift expression must have the type BitString or Integer. The second operand expression must have the type Integer.
344
+
The first operand expression of a shift expression must have a type that conforms to the type BitString or Integer. The second operand expression must have that conforms to the type Integer.
345
345
346
346
superInvocationExpressionConstructorCall
347
347
Superclass constructor call not allowed here.
@@ -493,7 +493,7 @@ The assignments before the block of a do statement are the same as the assignmen
493
493
494
494
doStatementCondition
495
495
Condition expression must have type Boolean and multiplicity upper bound of 1.
496
-
The condition expression of a do statement must have type Boolean and a multiplicity upper bound of 1.
496
+
The condition expression of a do statement must have that conforms to type Boolean and a multiplicity upper bound of 1.
497
497
498
498
doStatementEnclosedStatements
499
499
@@ -588,8 +588,8 @@ Expression type must conform to declared loop variable type.
588
588
If the type of a loop variable definition is not inferred, then the first expression of the definition must have a type that conforms to the declared type.
589
589
590
590
loopVariableDefinitionRangeExpressions
591
-
Range expressions must have type Integer and multiplicity upper bound of 1; same name cannot be assigned in both expressions
592
-
If a loop variable definition has two expressions, then both expressions must have type Integer and a multiplicity upper bound of 1, and no name may be newly assigned or reassigned in more than one of the expressions.
591
+
Range expressions must have type Integer and multiplicity upper bound of 1; same name cannot be assigned in both expressions.
592
+
If a loop variable definition has two expressions, then both expressions must have that conforms to type Integer and a multiplicity upper bound of 1, and no name may be newly assigned or reassigned in more than one of the expressions.
593
593
594
594
loopVariableDefinitionTypeName
595
595
Type name must resolve to a non-template classifier.
@@ -609,7 +609,7 @@ If a name is unassigned before the condition expression of a non-final clause, t
609
609
610
610
nonFinalClauseConditionType
611
611
Condition expression must have type Boolean and multiplicity upper bound of 1.
612
-
The condition of a non-final clause must have type Boolean and a multiplicity upper bound no greater than 1.
612
+
The condition of a non-final clause must have that conforms to type Boolean and a multiplicity upper bound no greater than 1.
The assignments before the condition expression of a while statement are the same as the assignments before the while statement. The assignments before the block of the while statement are the same as the assignments after the condition expression.
677
677
678
678
whileStatementCondition
679
-
Condition expression must have type Boolean and multiplicity upper bound of 1.
679
+
Condition expression must have that conforms to type Boolean and multiplicity upper bound of 1.
680
680
The condition expression of a while statement must have type Boolean and a multiplicity upper bound of 1.
0 commit comments