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

Side by Side Diff: dart/tests/language/call_through_null_getter_test.dart

Issue 10829416: Update language tests to new getter syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 // Tests that we can call functions through getters which return null. 5 // Tests that we can call functions through getters which return null.
6 6
7 final TOP_LEVEL_NULL = null; 7 final TOP_LEVEL_NULL = null;
8 8
9 var topLevel; 9 var topLevel;
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 return result; 78 return result;
79 } 79 }
80 80
81 } 81 }
82 82
83 83
84 class A { 84 class A {
85 85
86 A() { } 86 A() { }
87 var field; 87 var field;
88 get getter() { return field; } 88 get getter { return field; }
89 method() { return field; } 89 method() { return field; }
90 90
91 } 91 }
92 92
93 main() { 93 main() {
94 CallThroughNullGetterTest.testMain(); 94 CallThroughNullGetterTest.testMain();
95 } 95 }
OLDNEW
« no previous file with comments | « dart/tests/language/call_through_getter_test.dart ('k') | dart/tests/language/cascade_precedence_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698