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. |
-} |
+} |