Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: tests/compiler/dart2js/serialization_test.dart

Issue 1891193003: Fix serialization of forwarding constructors. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: dartfmt Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.serialization_test; 5 library dart2js.serialization_test;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 import 'memory_compiler.dart'; 8 import 'memory_compiler.dart';
9 import 'package:async_helper/async_helper.dart'; 9 import 'package:async_helper/async_helper.dart';
10 import 'package:compiler/src/commandline_options.dart'; 10 import 'package:compiler/src/commandline_options.dart';
11 import 'package:compiler/src/common.dart';
11 import 'package:compiler/src/constants/constructors.dart'; 12 import 'package:compiler/src/constants/constructors.dart';
12 import 'package:compiler/src/constants/expressions.dart'; 13 import 'package:compiler/src/constants/expressions.dart';
13 import 'package:compiler/src/dart_types.dart'; 14 import 'package:compiler/src/dart_types.dart';
14 import 'package:compiler/src/compiler.dart'; 15 import 'package:compiler/src/compiler.dart';
15 import 'package:compiler/src/diagnostics/invariant.dart'; 16 import 'package:compiler/src/diagnostics/invariant.dart';
16 import 'package:compiler/src/elements/elements.dart'; 17 import 'package:compiler/src/elements/elements.dart';
17 import 'package:compiler/src/elements/visitor.dart'; 18 import 'package:compiler/src/elements/visitor.dart';
18 import 'package:compiler/src/ordered_typeset.dart'; 19 import 'package:compiler/src/ordered_typeset.dart';
19 import 'package:compiler/src/serialization/element_serialization.dart'; 20 import 'package:compiler/src/serialization/element_serialization.dart';
20 import 'package:compiler/src/serialization/equivalence.dart'; 21 import 'package:compiler/src/serialization/equivalence.dart';
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 void visitPrefixElement(PrefixElement element1, PrefixElement element2) { 632 void visitPrefixElement(PrefixElement element1, PrefixElement element2) {
632 check( 633 check(
633 element1, element2, 'isDeferred', 634 element1, element2, 'isDeferred',
634 element1.isDeferred, element2.isDeferred); 635 element1.isDeferred, element2.isDeferred);
635 checkElementIdentities( 636 checkElementIdentities(
636 element1, element2, 'importedLibrary', 637 element1, element2, 'importedLibrary',
637 element1.deferredImport, element2.deferredImport); 638 element1.deferredImport, element2.deferredImport);
638 // TODO(johnniwinther): Check members. 639 // TODO(johnniwinther): Check members.
639 } 640 }
640 } 641 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/serialization_impact_test.dart ('k') | tests/compiler/dart2js/serialization_test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698