| Index: test/codegen/language/inferrer_synthesized_constructor_test.dart
|
| diff --git a/test/codegen/language/inferrer_synthesized_constructor_test.dart b/test/codegen/language/inferrer_synthesized_constructor_test.dart
|
| index aa6c52bdbee64a46587ecc0a981bd74cb70a7481..b4bb5dbed8b4066a7fa700ebcd861c3d16a00daf 100644
|
| --- a/test/codegen/language/inferrer_synthesized_constructor_test.dart
|
| +++ b/test/codegen/language/inferrer_synthesized_constructor_test.dart
|
| @@ -22,6 +22,9 @@ main() {
|
| // used to only see this call and consider the [A.x] field to always
|
| // be int.
|
| Expect.equals(84, new A(42).x + 42);
|
| + // TODO(jmesserly): DDC throws an nSM if the argument types mismatch,
|
| + // instead of a TypeError.
|
| + // https://github.com/dart-lang/dev_compiler/issues/534
|
| Expect.throws(() => new B().x + 42,
|
| - (e) => e is ArgumentError || e is TypeError);
|
| + (e) => e is ArgumentError || e is TypeError || e is NoSuchMethodError);
|
| }
|
|
|