| Index: tests/language/inferrer_synthesized_constructor_test.dart
|
| ===================================================================
|
| --- tests/language/inferrer_synthesized_constructor_test.dart (revision 27010)
|
| +++ tests/language/inferrer_synthesized_constructor_test.dart (working copy)
|
| @@ -22,5 +22,6 @@
|
| // used to only see this call and consider the [A.x] field to always
|
| // be int.
|
| Expect.equals(84, new A(42).x + 42);
|
| - Expect.throws(() => new B().x + 42, (e) => e is ArgumentError);
|
| + Expect.throws(() => new B().x + 42,
|
| + (e) => e is ArgumentError || e is TypeError);
|
| }
|
|
|