Fix ambigous typos.

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1443723004 .
This commit is contained in:
Florian Loitsch 2015-11-16 22:06:44 +01:00
parent 8a0bdfbd9b
commit 31c73aef7c
4 changed files with 6 additions and 5 deletions

View file

@ -97,7 +97,8 @@ class DebuggerLocation {
return new DebuggerLocation.file(scripts[0], line, col);
} else {
// TODO(turnidge): Allow the user to disambiguate.
return new DebuggerLocation.error("Script '${scriptName}' is ambigous");
return
new DebuggerLocation.error("Script '${scriptName}' is ambiguous");
}
} else {
// No script provided. Default to top of stack for now.
@ -253,7 +254,7 @@ class DebuggerLocation {
} else {
// TODO(turnidge): Allow the user to disambiguate.
return new DebuggerLocation.error(
"Function '${match.group(0)}' is ambigous");
"Function '${match.group(0)}' is ambiguous");
}
return new DebuggerLocation.error('foo');
});

View file

@ -1724,7 +1724,7 @@ class ObservatoryDebugger extends Debugger {
// Unambiguous completion.
return completions[0];
} else {
// Ambigous completion.
// Ambiguous completion.
completions = completions.map((s) => s.trimRight()).toList();
console.printBold(completions.toString());
return _foldCompletions(completions);

View file

@ -774,7 +774,7 @@ void processCommand(String cmdLine) {
});
} else {
var matchNames = matches.map((handler) => handler.name);
print("Ambigous command '$command' : ${matchNames.toList()}");
print("Ambiguous command '$command' : ${matchNames.toList()}");
cmdo.show();
}
}

View file

@ -160,7 +160,7 @@ class Debugger {
});
} else {
var matchNames = matches.map((handler) => handler.name);
cmdo.print("Ambigous command '$command' : ${matchNames.toList()}");
cmdo.print("Ambiguous command '$command' : ${matchNames.toList()}");
cmdo.show();
}
}