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

Unified Diff: runtime/lib/errors_patch.dart

Issue 1971193002: Patches to support Dart VM patch files in dart2js. (Closed) Base URL: sso://user/ahe/dart-sdk@master
Patch Set: Created 4 years, 6 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/double_patch.dart ('k') | runtime/lib/expando_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/errors_patch.dart
diff --git a/runtime/lib/errors_patch.dart b/runtime/lib/errors_patch.dart
index 29c14f5c595012a5806b91e9bfc7d46cd711ca88..b60a367f19189215f1ea09d5a8e88596066cc099 100644
--- a/runtime/lib/errors_patch.dart
+++ b/runtime/lib/errors_patch.dart
@@ -186,10 +186,10 @@ patch class NoSuchMethodError {
// that no information is available.
final int _invocation_type;
- NoSuchMethodError(Object this._receiver,
- Symbol this._memberName,
- List this._arguments,
- Map<Symbol, dynamic> this._namedArguments,
+ NoSuchMethodError(this._receiver,
+ this._memberName,
+ this._arguments,
+ this._namedArguments,
[List existingArgumentNames = null])
: this._existingArgumentNames = existingArgumentNames,
this._invocation_type = -1;
@@ -198,12 +198,13 @@ patch class NoSuchMethodError {
// values read from another NoSuchMethodError.
NoSuchMethodError._withType(Object this._receiver,
/*String|Symbol*/ memberName,
- this._invocation_type,
+ int invocation_type,
List this._arguments,
Map<dynamic, dynamic> namedArguments,
[List existingArgumentNames = null])
: this._memberName =
(memberName is String) ? new Symbol(memberName) : memberName,
+ this._invocation_type = invocation_type,
this._namedArguments =
(namedArguments == null)
? null
« no previous file with comments | « runtime/lib/double_patch.dart ('k') | runtime/lib/expando_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698