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
// A source type whose domain is disjoint from the domain of the target should error and not narrow
280
280
Row(TypeFactory.CreateStringType(minLength:10),
281
281
TypeFactory.CreateStringType(maxLength:9),
282
-
TypeFactory.CreateStringType(minLength:10),
282
+
TypeFactory.CreateStringType(maxLength:9),
283
283
("BCP332",DiagnosticLevel.Error,"The provided value (whose length will always be greater than or equal to 10) is too long to assign to a target for which the maximum allowable length is 9.")),
284
284
Row(TypeFactory.CreateStringType(maxLength:9),
285
285
TypeFactory.CreateStringType(minLength:10),
286
-
TypeFactory.CreateStringType(maxLength:9),
286
+
TypeFactory.CreateStringType(minLength:10),
287
287
("BCP333",DiagnosticLevel.Error,"The provided value (whose length will always be less than or equal to 9) is too short to assign to a target for which the minimum allowable length is 10.")),
// A source type whose domain is disjoint from the domain of the target should error and not narrow
370
370
Row(TypeFactory.CreateIntegerType(minValue:10),
371
371
TypeFactory.CreateIntegerType(maxValue:9),
372
-
TypeFactory.CreateIntegerType(minValue:10),
372
+
TypeFactory.CreateIntegerType(maxValue:9),
373
373
("BCP327",DiagnosticLevel.Error,"The provided value (which will always be greater than or equal to 10) is too large to assign to a target for which the maximum allowable value is 9.")),
374
374
Row(TypeFactory.CreateIntegerType(maxValue:9),
375
375
TypeFactory.CreateIntegerType(minValue:10),
376
-
TypeFactory.CreateIntegerType(maxValue:9),
376
+
TypeFactory.CreateIntegerType(minValue:10),
377
377
("BCP328",DiagnosticLevel.Error,"The provided value (which will always be less than or equal to 9) is too small to assign to a target for which the minimum allowable value is 10.")),
378
378
Row(TypeFactory.CreateIntegerLiteralType(10),
379
379
TypeFactory.CreateIntegerType(maxValue:9),
380
-
TypeFactory.CreateIntegerLiteralType(10),
380
+
TypeFactory.CreateIntegerType(maxValue:9),
381
381
("BCP327",DiagnosticLevel.Error,"The provided value (which will always be greater than or equal to 10) is too large to assign to a target for which the maximum allowable value is 9.")),
382
382
Row(TypeFactory.CreateIntegerLiteralType(9),
383
383
TypeFactory.CreateIntegerType(minValue:10),
384
-
TypeFactory.CreateIntegerLiteralType(9),
384
+
TypeFactory.CreateIntegerType(minValue:10),
385
385
("BCP328",DiagnosticLevel.Error,"The provided value (which will always be less than or equal to 9) is too small to assign to a target for which the minimum allowable value is 10.")),
0 commit comments