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

Side by Side Diff: tests/language/vm/optimized_guarded_field_isolates_test.dart

Issue 54673009: Fix static warning in a test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 // VMOptions=--optimization_counter_threshold=100 4 // VMOptions=--optimization_counter_threshold=100
5 5
6 // Test field type tracking and field list-length tracking in the presence of 6 // Test field type tracking and field list-length tracking in the presence of
7 // multiple isolates. 7 // multiple isolates.
8 8
9 import "dart:isolate"; 9 import "dart:isolate";
10 import "dart:async";
10 import "package:expect/expect.dart"; 11 import "package:expect/expect.dart";
11 12
12 class A { 13 class A {
13 A(this.a); 14 A(this.a);
14 var a; 15 var a;
15 } 16 }
16 17
17 class B extends A { 18 class B extends A {
18 B(a, this.b) : super(a) { } 19 B(a, this.b) : super(a) { }
19 20
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 item.then((C value) { 61 item.then((C value) {
61 Expect.throws(() => test_c(value), (e) => e is RangeError); 62 Expect.throws(() => test_c(value), (e) => e is RangeError);
62 receive_port.close(); 63 receive_port.close();
63 }); 64 });
64 } 65 }
65 66
66 main() { 67 main() {
67 test_field_type(); 68 test_field_type();
68 test_list_length(); 69 test_list_length();
69 } 70 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698