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

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

Issue 2073893002: Removed all analyzer issues from tests (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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: runtime/observatory/tests/service/evaluate_activation_in_method_class_test.dart
diff --git a/runtime/observatory/tests/service/evaluate_activation_in_method_class_test.dart b/runtime/observatory/tests/service/evaluate_activation_in_method_class_test.dart
index cfe43154d620438a0b9da841b6d32684b1ac022a..d07b8329e975607e0dd0ef7226d1bda29b62e3ac 100644
--- a/runtime/observatory/tests/service/evaluate_activation_in_method_class_test.dart
+++ b/runtime/observatory/tests/service/evaluate_activation_in_method_class_test.dart
@@ -20,6 +20,7 @@ class Subclass extends Superclass with Klass {
var instVar = 'Subclass';
method() => 'Subclass';
static staticMethod() => 'Subclass';
+ suppress_warning() => _instVar;
}
testeeDo() {
@@ -70,7 +71,7 @@ testerDo(Isolate isolate) async {
result = await isolate.evalFrame(topFrame, 'staticMethod()');
print(result);
expect(result.valueAsString, equals('Klass'));
-
+
// function.Owner verus function.Origin
// The mixin of Superclass is in _other.dart and the mixin
// application is in _test.dart.

Powered by Google App Engine
This is Rietveld 408576698