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

Unified Diff: runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart

Issue 1854243002: VM: Evaluate-in-frame should happen in the scope of the method class, not the receiver class. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | runtime/observatory/tests/service/evaluate_activation_in_method_class_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart
diff --git a/runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart b/runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart
new file mode 100644
index 0000000000000000000000000000000000000000..6cc5879e94d16eeee8f71dfcb817cac88faf7170
--- /dev/null
+++ b/runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart
@@ -0,0 +1,26 @@
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
+// 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.
+
+import 'dart:developer';
+
+var topLevel = "OtherLibrary";
+
+class Superclass {
+ var _instVar = 'Superclass';
+ var instVar = 'Superclass';
+ method() => 'Superclass';
+ static staticMethod() => 'Superclass';
+}
+
+class Klass extends Superclass {
+ var _instVar = 'Klass';
+ var instVar = 'Klass';
+ method() => 'Klass';
+ static staticMethod() => 'Klass';
+
+ test() {
+ var _local = 'Klass';
+ debugger();
+ }
+}
« no previous file with comments | « no previous file | runtime/observatory/tests/service/evaluate_activation_in_method_class_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698