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

Unified Diff: runtime/lib/errors_patch.dart

Issue 133273011: Revert "Rename internal library dart:_collection-dev to dart:_internal." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: reapply after revert. Created 6 years, 11 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/collection_dev_sources.gypi ('k') | runtime/lib/function_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 6bb2572ea5290394111b9dfc63c060e0c13dcedf..31de11dbcc4266fb0509613deb035b918fa5d10f 100644
--- a/runtime/lib/errors_patch.dart
+++ b/runtime/lib/errors_patch.dart
@@ -216,7 +216,7 @@ patch class NoSuchMethodError {
var args_message = args_mismatch ? " with matching arguments" : "";
var msg;
var memberName =
- (_memberName == null) ? "" :_collection_dev.Symbol.getName(_memberName);
+ (_memberName == null) ? "" : internal.Symbol.getName(_memberName);
switch (level) {
case _InvocationMirror._DYNAMIC: {
if (_receiver == null) {
@@ -276,7 +276,7 @@ patch class NoSuchMethodError {
if (i > 0) {
actual_buf.write(", ");
}
- actual_buf.write(_collection_dev.Symbol.getName(key));
+ actual_buf.write(internal.Symbol.getName(key));
actual_buf.write(": ");
actual_buf.write(Error.safeToString(value));
i++;
@@ -293,7 +293,7 @@ patch class NoSuchMethodError {
receiver_str = Error.safeToString(_receiver);
}
var memberName =
- (_memberName == null) ? "" :_collection_dev.Symbol.getName(_memberName);
+ (_memberName == null) ? "" : internal.Symbol.getName(_memberName);
if (!args_mismatch) {
msg_buf.write(
"NoSuchMethodError : method not found: '$memberName'\n"
« no previous file with comments | « runtime/lib/collection_dev_sources.gypi ('k') | runtime/lib/function_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698