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

Unified Diff: tests/language/tearoff_basic_lib.dart

Issue 1234883005: Implement tear-off closure operator # (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address review comments Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/language/language_dart2js.status ('k') | tests/language/tearoff_basic_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/tearoff_basic_lib.dart
diff --git a/tests/language/getter_setter_in_lib3.dart b/tests/language/tearoff_basic_lib.dart
similarity index 58%
copy from tests/language/getter_setter_in_lib3.dart
copy to tests/language/tearoff_basic_lib.dart
index 343edfc30c8730b83d67fb0fd9fc4df1c7ced44e..fe9fc075f024200a584dc3734f91759f75608b0c 100644
--- a/tests/language/getter_setter_in_lib3.dart
+++ b/tests/language/tearoff_basic_lib.dart
@@ -2,10 +2,16 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library GetterSetterInLib3;
+library tearoff_basic_lib;
-var _f = 33;
+cfunc() => "cfunc";
-set bar(a) { _f = a; }
+set cset(a) { cvar = a; }
-get bar => _f;
+get cget => "cget";
+
+var cvar = 1+2+3;
+
+final cfinvar = "set in stone";
+
+class ZZ { }
« no previous file with comments | « tests/language/language_dart2js.status ('k') | tests/language/tearoff_basic_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698