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
addError("Assignment target with type " + TypesEx.getName(targetType) + " cannot be assigned to value with type " + TypesEx.getName(sourceType), node);
403
+
addSoftError("Assignment target with type " + TypesEx.getName(targetType) + " cannot be assigned to value with type " + TypesEx.getName(sourceType), node);
addError(String.format("Function `%s` (with multiple signatures) was called with incorrect number of arguments and/or incorrect argument types", node.getMethodAsString()), node.getMethod());
513
+
addSoftError(String.format("Function `%s` (with multiple signatures) was called with incorrect number of arguments and/or incorrect argument types", node.getMethodAsString()), node.getMethod());
addError("Closure with signature " + TypesEx.getName(parameterTypes, returnType) + " is not compatible with expected signature: " + TypesEx.getName(paramType), argument);
609
+
addSoftError("Closure with signature " + TypesEx.getName(parameterTypes, returnType) + " is not compatible with expected signature: " + TypesEx.getName(paramType), argument);
613
610
}
614
611
else {
615
-
addError("Argument with type " + TypesEx.getName(argType) + " is not compatible with parameter of type " + TypesEx.getName(paramType), argument);
612
+
addSoftError("Argument with type " + TypesEx.getName(argType) + " is not compatible with parameter of type " + TypesEx.getName(paramType), argument);
addError("Argument with type " + TypesEx.getName(elementType) + " is not compatible with process input of type " + TypesEx.getName(paramType), arguments.get(i));
705
+
addSoftError("Argument with type " + TypesEx.getName(elementType) + " is not compatible with process input of type " + TypesEx.getName(paramType), arguments.get(i));
addError(String.format("The `%s` operator is not defined for operands with types %s and %s", op.getText(), TypesEx.getName(lhsType), TypesEx.getName(rhsType)), node);
956
+
addSoftError(String.format("The `%s` operator is not defined for operands with types %s and %s", op.getText(), TypesEx.getName(lhsType), TypesEx.getName(rhsType)), node);
addError(String.format("Conditional expression has inconsistent types -- true branch has type %s but false branch has type %s", TypesEx.getName(trueType), TypesEx.getName(falseType)), node);
1053
+
addSoftError(String.format("Conditional expression has inconsistent types -- true branch has type %s but false branch has type %s", TypesEx.getName(trueType), TypesEx.getName(falseType)), node);
1057
1054
return;
1058
1055
}
1059
1056
@@ -1100,7 +1097,7 @@ public void visitListExpression(ListExpression node) {
1100
1097
elementType = type;
1101
1098
}
1102
1099
elseif( !TypesEx.isEqual(elementType, type) ) {
1103
-
addError(String.format("List expression has inconsistent element types -- some elements have type %s while others have type %s", TypesEx.getName(elementType), TypesEx.getName(type)), node);
1100
+
addSoftError(String.format("List expression has inconsistent element types -- some elements have type %s while others have type %s", TypesEx.getName(elementType), TypesEx.getName(type)), node);
1104
1101
break;
1105
1102
}
1106
1103
}
@@ -1130,7 +1127,7 @@ public void visitRangeExpression(RangeExpression node) {
1130
1127
varrhsType = getType(rhs);
1131
1128
1132
1129
if( !TypesEx.isEqual(lhsType, rhsType) ) {
1133
-
addError("Lower bound and upper bound of range expression should have the same type", node);
1130
+
addSoftError("Lower bound and upper bound of range expression should have the same type", node);
0 commit comments