| Index: sdk/lib/convert/convert.dart
|
| diff --git a/tests/language/issue10561_test.dart b/sdk/lib/convert/convert.dart
|
| similarity index 50%
|
| copy from tests/language/issue10561_test.dart
|
| copy to sdk/lib/convert/convert.dart
|
| index d02e1579d8ffe2f6a46230dbb2cb520da4dd3698..6c97b19e3e35bda6096e6cec8487f889fa69ecf0 100644
|
| --- a/tests/language/issue10561_test.dart
|
| +++ b/sdk/lib/convert/convert.dart
|
| @@ -2,16 +2,16 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// Regression test for dart2js that used to miscompile classes
|
| -// extending HashMap, because HashMap is patched.
|
| -
|
| -import "package:expect/expect.dart";
|
| +library dart.convert;
|
|
|
| +import 'dart:async';
|
| import 'dart:collection';
|
| +import 'dart:json' as JSON_LIB;
|
| +import 'dart:typed_data';
|
|
|
| -class Foo extends HashMap {
|
| -}
|
| -
|
| -main() {
|
| - Expect.equals(0, new Foo().length);
|
| -}
|
| +part 'byte_converter.dart';
|
| +part 'converter.dart';
|
| +part 'json.dart';
|
| +part 'line_splitter.dart';
|
| +part 'string_converter.dart';
|
| +part 'utf.dart';
|
|
|