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

Unified Diff: sdk/lib/_internal/js_runtime/lib/developer_patch.dart

Issue 1271693003: Change `msg` to `message` in debugger function. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Also fix signatures in dart2js patch file. Created 5 years, 4 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 | « runtime/lib/developer.dart ('k') | sdk/lib/developer/developer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/js_runtime/lib/developer_patch.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/developer_patch.dart b/sdk/lib/_internal/js_runtime/lib/developer_patch.dart
index 8ec8d4380b611354f109d32478094708f3ad8cea..b316f250c9e9a7bf1f5e9601d005fe3fca19aed4 100644
--- a/sdk/lib/_internal/js_runtime/lib/developer_patch.dart
+++ b/sdk/lib/_internal/js_runtime/lib/developer_patch.dart
@@ -17,7 +17,7 @@ import 'dart:_foreign_helper' show JS;
/// that does.
@patch
@ForceInline()
-bool debugger({bool when: true, String msg}) {
+bool debugger({bool when: true, String message}) {
if (when) {
JS('', 'debugger');
}
@@ -27,7 +27,7 @@ bool debugger({bool when: true, String msg}) {
/// Send a reference to [object] to any attached debuggers so they may open an
/// inspector on the object. Returns the argument.
@patch
-inspect(object) {
+Object inspect(Object object) {
return object;
}
@@ -50,4 +50,4 @@ log({int sequenceNumber,
Object error,
StackTrace stackTrace}) {
// TODO.
-}
+}
« no previous file with comments | « runtime/lib/developer.dart ('k') | sdk/lib/developer/developer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698