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

Unified Diff: tests/language/deferred_not_loaded_check_lib.dart

Issue 232563006: Insert checks before deferred calls and accesses. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
Index: tests/language/deferred_not_loaded_check_lib.dart
diff --git a/tests/lib/mirrors/method_mirror_location_other.dart b/tests/language/deferred_not_loaded_check_lib.dart
similarity index 54%
copy from tests/lib/mirrors/method_mirror_location_other.dart
copy to tests/language/deferred_not_loaded_check_lib.dart
index 48ebdb53dff0e4454860c091c791a9416fd1fd0b..dc55869743f7419f33dc00ef6b8c5d55f318ab07 100644
--- a/tests/lib/mirrors/method_mirror_location_other.dart
+++ b/tests/language/deferred_not_loaded_check_lib.dart
@@ -2,17 +2,21 @@
// 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.
-part of test.method_location;
+foo(int arg) {}
-class ClassInOtherFile {
+class C {
+ C(int arg) {}
+ static foo(int arg) {}
+}
- ClassInOtherFile();
+var a;
- method() {}
-}
+int get getter => 42;
-topLevelInOtherFile() {}
+void set setter(int arg) {
+ a = 10;
+}
- spaceIdentedInOtherFile() {}
+var list = new List();
- tabIdentedInOtherFile() {}
+var closure = (int arg) => 3;

Powered by Google App Engine
This is Rietveld 408576698