| Index: tests/compiler/dart2js/resolver_test.dart
|
| diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart
|
| index 1879850dd44577a1590b928b3d158301927ee003..c76167fa026772271b6d09084bc25f4421faf385 100644
|
| --- a/tests/compiler/dart2js/resolver_test.dart
|
| +++ b/tests/compiler/dart2js/resolver_test.dart
|
| @@ -82,7 +82,6 @@ main() {
|
| testIncrementsAndDecrements,
|
| testOverrideHashCodeCheck,
|
| testSupertypeOrder,
|
| - testConstructorArgumentMismatch,
|
| testConstConstructorAndNonFinalFields,
|
| ], (f) => f()));
|
| }
|
| @@ -646,21 +645,6 @@ Future testNewExpression() {
|
| });
|
| }
|
|
|
| -Future testConstructorArgumentMismatch() {
|
| - return MockCompiler.create((MockCompiler compiler) {
|
| - String script = "class A {} foo() { print(new A(42)); }";
|
| - compiler.parseScript(script);
|
| - FunctionElement fooElement = compiler.mainApp.find('foo');
|
| - Expect.isNotNull(fooElement);
|
| - fooElement.parseNode(compiler);
|
| - compiler.resolver.resolve(fooElement);
|
| -
|
| - compareWarningKinds(
|
| - script, [MessageKind.INVALID_ARGUMENTS], compiler.warnings);
|
| - compareWarningKinds(script, [], compiler.errors);
|
| - });
|
| -}
|
| -
|
| Future testTopLevelFields() {
|
| return MockCompiler.create((MockCompiler compiler) {
|
| compiler.parseScript("int a;");
|
|
|