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

Unified Diff: runtime/observatory/lib/src/debugger/debugger_location.dart

Issue 2194383002: Converted Observatory code-ref function-ref element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Added qualified flag Created 4 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
Index: runtime/observatory/lib/src/debugger/debugger_location.dart
diff --git a/runtime/observatory/lib/src/debugger/debugger_location.dart b/runtime/observatory/lib/src/debugger/debugger_location.dart
index ac3a9bfd7732ba734e73b42922be1fe3058e68f5..9298335444447f9f086053b1f11c15ae2d09a0f1 100644
--- a/runtime/observatory/lib/src/debugger/debugger_location.dart
+++ b/runtime/observatory/lib/src/debugger/debugger_location.dart
@@ -233,7 +233,7 @@ class DebuggerLocation {
for (var cls in classes) {
assert(cls.loaded);
for (var function in cls.functions) {
- if (function.kind == FunctionKind.kConstructor) {
+ if (function.kind == M.FunctionKind.Constructor) {
// Constructor names are class-qualified.
if (match.group(0) == function.name) {
functions.add(function);
@@ -314,7 +314,7 @@ class DebuggerLocation {
var completions = [];
for (var cls in classes) {
for (var function in cls.functions) {
- if (function.kind == FunctionKind.kConstructor) {
+ if (function.kind == M.FunctionKind.Constructor) {
if (function.name.startsWith(match.group(0))) {
completions.add(function.name);
}

Powered by Google App Engine
This is Rietveld 408576698