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

Side by Side Diff: test/codegen/fieldtest.dart

Issue 962213003: fix analysis messages (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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 fieldtest; 5 library fieldtest;
6 6
7 class A { 7 class A {
8 int x = 42; 8 int x = 42;
9 } 9 }
10 10
(...skipping 13 matching lines...) Expand all
24 return a.x; 24 return a.x;
25 } 25 }
26 26
27 baz(A a) => a.x; 27 baz(A a) => a.x;
28 28
29 int compute() => 123; 29 int compute() => 123;
30 int y = compute() + 444; 30 int y = compute() + 444;
31 31
32 String get q => 'life, ' + 'the universe ' + 'and everything'; 32 String get q => 'life, ' + 'the universe ' + 'and everything';
33 int get z => 42; 33 int get z => 42;
34 int set z(value) { 34 void set z(value) {
35 y = value; 35 y = value;
36 } 36 }
37 37
38 void main() { 38 void main() {
39 var a = new A(); 39 var a = new A();
40 foo(a); 40 foo(a);
41 bar(a); 41 bar(a);
42 print(baz(a)); 42 print(baz(a));
43 } 43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698