| Index: tests/language/src/NamedParametersTypeTest.dart
|
| diff --git a/tests/language/src/NamedParametersTypeTest.dart b/tests/language/src/NamedParametersTypeTest.dart
|
| index 8d0e48c22bc102125420d6650cf83be44e7afcfa..e0c730908aad16ee8733ad68e2e5ca5b1fcd14c4 100644
|
| --- a/tests/language/src/NamedParametersTypeTest.dart
|
| +++ b/tests/language/src/NamedParametersTypeTest.dart
|
| @@ -21,14 +21,14 @@ class NamedParametersTypeTest {
|
| acceptFunNumOptBool(funNum); // No error.
|
| acceptFunNumOptBool(funNumOptBool); // No error.
|
| try {
|
| - acceptFunNumOptBool(funNumBool); /// static type error
|
| + acceptFunNumOptBool(funNumBool); /// static type warning
|
| } catch (TypeError error) {
|
| result += 1;
|
| Expect.stringEquals("(num, [b: bool]) => void", error.dstType);
|
| Expect.stringEquals("(num, bool) => void", error.srcType);
|
| }
|
| try {
|
| - acceptFunNumOptBool(funNumOptBoolX); /// static type error
|
| + acceptFunNumOptBool(funNumOptBoolX); /// static type warning
|
| } catch (TypeError error) {
|
| result += 10;
|
| Expect.stringEquals("(num, [b: bool]) => void", error.dstType);
|
|
|