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

Side by Side Diff: tests/compiler/dart2js/kernel/closed_world2_test.dart

Issue 2852683002: Fix InterfaceType.treatAsRaw (Closed)
Patch Set: Created 3 years, 7 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/elements/types.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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 // Partial test that the closed world computed from [WorldImpact]s derived from 5 // Partial test that the closed world computed from [WorldImpact]s derived from
6 // kernel is equivalent to the original computed from resolution. 6 // kernel is equivalent to the original computed from resolution.
7 library dart2js.kernel.closed_world2_test; 7 library dart2js.kernel.closed_world2_test;
8 8
9 import 'dart:async'; 9 import 'dart:async';
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 @NoInline() 76 @NoInline()
77 main() { 77 main() {
78 print('Hello World'); 78 print('Hello World');
79 ''.contains; // Trigger member closurization. 79 ''.contains; // Trigger member closurization.
80 new Element.div(); 80 new Element.div();
81 new ClassWithSetter().setter = null; 81 new ClassWithSetter().setter = null;
82 new Class1().method1(); 82 new Class1().method1();
83 new Class2().method2(); 83 new Class2().method2();
84 new Class2().method3(); 84 new Class2().method3();
85 null is List<int>;
85 } 86 }
86 ''' 87 '''
87 }; 88 };
88 89
89 main(List<String> args) { 90 main(List<String> args) {
90 asyncTest(() async { 91 asyncTest(() async {
91 await mainInternal(args); 92 await mainInternal(args);
92 }); 93 });
93 } 94 }
94 95
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 360
360 MemoryDillLibraryLoaderTask(KernelToElementMap elementMap, 361 MemoryDillLibraryLoaderTask(KernelToElementMap elementMap,
361 DiagnosticReporter reporter, Measurer measurer, this.program) 362 DiagnosticReporter reporter, Measurer measurer, this.program)
362 : super(elementMap, null, null, reporter, measurer); 363 : super(elementMap, null, null, reporter, measurer);
363 364
364 Future<LoadedLibraries> loadLibrary(Uri resolvedUri, 365 Future<LoadedLibraries> loadLibrary(Uri resolvedUri,
365 {bool skipFileWithPartOfTag: false}) async { 366 {bool skipFileWithPartOfTag: false}) async {
366 return createLoadedLibraries(program); 367 return createLoadedLibraries(program);
367 } 368 }
368 } 369 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/elements/types.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698