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

Unified Diff: runtime/lib/errors_patch.dart

Issue 2434123003: Merge more Kernel infrastructure from kernel_sdk SDK fork. (Closed)
Patch Set: address more comments Created 4 years, 2 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/lib/errors_patch.dart
diff --git a/runtime/lib/errors_patch.dart b/runtime/lib/errors_patch.dart
index 654dfa3e902cab73308ac45101c5ab2ae0c2af49..bf0405922f5d7bcce314b3ff7c117fcf186fe3e5 100644
--- a/runtime/lib/errors_patch.dart
+++ b/runtime/lib/errors_patch.dart
@@ -2,9 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import 'dart:_internal' as internal;
-import 'dart:convert' show JSON;
-
@patch class Error {
@patch static String _objectToString(Object object) {
return Object._toString(object);
@@ -206,6 +203,7 @@ class _InternalError {
// that no information is available.
final int _invocation_type;
+ @patch
NoSuchMethodError(Object this._receiver,
Symbol this._memberName,
List this._arguments,

Powered by Google App Engine
This is Rietveld 408576698