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

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

Issue 1341253002: Fix try (again!) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 | « site/try/poi/scope_information_visitor.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/constants/constructors.dart'; 10 import 'package:compiler/src/constants/constructors.dart';
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 461
462 @override 462 @override
463 void visitElement(Element e, Element arg) { 463 void visitElement(Element e, Element arg) {
464 throw new UnsupportedError("Unsupported element $e"); 464 throw new UnsupportedError("Unsupported element $e");
465 } 465 }
466 466
467 @override 467 @override
468 void visitLibraryElement(LibraryElement element1, LibraryElement element2) { 468 void visitLibraryElement(LibraryElement element1, LibraryElement element2) {
469 checkElementIdentities(null, null, null, element1, element2); 469 checkElementIdentities(null, null, null, element1, element2);
470 check(element1, element2, 'name', element1.name, element2.name); 470 check(element1, element2, 'name', element1.name, element2.name);
471 check(element1, element2, 'getLibraryName', 471 check(element1, element2, 'libraryName',
Johnni Winther 2015/09/15 08:28:30 Just found this search for uses of 'getLibraryName
472 element1.libraryName, element2.libraryName); 472 element1.libraryName, element2.libraryName);
473 visitMembers(element1, element2); 473 visitMembers(element1, element2);
474 visit(element1.entryCompilationUnit, element2.entryCompilationUnit); 474 visit(element1.entryCompilationUnit, element2.entryCompilationUnit);
475 checkElementLists( 475 checkElementLists(
476 element1, element2, 'compilationUnits', 476 element1, element2, 'compilationUnits',
477 element1.compilationUnits.toList(), 477 element1.compilationUnits.toList(),
478 element2.compilationUnits.toList()); 478 element2.compilationUnits.toList());
479 479
480 checkElementListIdentities( 480 checkElementListIdentities(
481 element1, element2, 'imports', element1.imports, element2.imports); 481 element1, element2, 'imports', element1.imports, element2.imports);
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
1088 exp1, exp2, 'expression', 1088 exp1, exp2, 'expression',
1089 exp1.expression, exp2.expression); 1089 exp1.expression, exp2.expression);
1090 } 1090 }
1091 1091
1092 @override 1092 @override
1093 visitDeferred(DeferredConstantExpression exp1, 1093 visitDeferred(DeferredConstantExpression exp1,
1094 DeferredConstantExpression exp2) { 1094 DeferredConstantExpression exp2) {
1095 // TODO: implement visitDeferred 1095 // TODO: implement visitDeferred
1096 } 1096 }
1097 } 1097 }
OLDNEW
« no previous file with comments | « site/try/poi/scope_information_visitor.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698