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

Side by Side Diff: tests/compiler/dart2js/serialization/equivalence_test.dart

Issue 2150493002: Serialize prefix members. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « pkg/compiler/lib/src/serialization/modelz.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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';
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 check( 843 check(
844 element1, element2, 'isDeferred', 844 element1, element2, 'isDeferred',
845 element1.isDeferred, element2.isDeferred); 845 element1.isDeferred, element2.isDeferred);
846 checkElementIdentities( 846 checkElementIdentities(
847 element1, element2, 'deferredImport', 847 element1, element2, 'deferredImport',
848 element1.deferredImport, element2.deferredImport); 848 element1.deferredImport, element2.deferredImport);
849 if (element1.isDeferred) { 849 if (element1.isDeferred) {
850 checkElementProperties(element1, element2, 850 checkElementProperties(element1, element2,
851 'loadLibrary', element1.loadLibrary, element2.loadLibrary); 851 'loadLibrary', element1.loadLibrary, element2.loadLibrary);
852 } 852 }
853 // TODO(johnniwinther): Check members. 853 element1.forEachLocalMember((Element member1) {
854 String name = member1.name;
855 Element member2 = element2.lookupLocalMember(name);
856 checkElementIdentities(element1, element2, 'lookupLocalMember:$name',
857 member1, member2);
858 });
854 } 859 }
855 860
856 @override 861 @override
857 void visitErroneousElement( 862 void visitErroneousElement(
858 ErroneousElement element1, ErroneousElement element2) { 863 ErroneousElement element1, ErroneousElement element2) {
859 check(element1, element2, 'messageKind', 864 check(element1, element2, 'messageKind',
860 element1.messageKind, element2.messageKind); 865 element1.messageKind, element2.messageKind);
861 } 866 }
862 } 867 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/serialization/modelz.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698