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

Side by Side Diff: runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart

Issue 2073893002: Removed all analyzer issues from tests (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Merge branch 'master' of https://github.com/dart-lang/sdk into tests 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 import 'dart:developer'; 5 import 'dart:developer';
6 6
7 var topLevel = "OtherLibrary"; 7 var topLevel = "OtherLibrary";
8 8
9 class Superclass { 9 class Superclass {
10 var _instVar = 'Superclass'; 10 var _instVar = 'Superclass';
11 var instVar = 'Superclass'; 11 var instVar = 'Superclass';
12 method() => 'Superclass'; 12 method() => 'Superclass';
13 static staticMethod() => 'Superclass'; 13 static staticMethod() => 'Superclass';
14 suppress_warning() => _instVar;
14 } 15 }
15 16
16 class Klass extends Superclass { 17 class Klass extends Superclass {
17 var _instVar = 'Klass'; 18 var _instVar = 'Klass';
18 var instVar = 'Klass'; 19 var instVar = 'Klass';
19 method() => 'Klass'; 20 method() => 'Klass';
20 static staticMethod() => 'Klass'; 21 static staticMethod() => 'Klass';
21 22
22 test() { 23 test() {
23 var _local = 'Klass'; 24 var _local = 'Klass';
24 debugger(); 25 debugger();
26 // Suppress unused variable warning.
27 print(_local);
25 } 28 }
26 } 29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698