Index: pkg/path/lib/path.dart |
diff --git a/pkg/path/lib/path.dart b/pkg/path/lib/path.dart |
index eb126d530f5f1e72ded815ef272d5db85968a83b..dafb0c2b842bb7eea1dca7b688ce03749177b1d5 100644 |
--- a/pkg/path/lib/path.dart |
+++ b/pkg/path/lib/path.dart |
@@ -90,11 +90,9 @@ LibraryMirror get _html => |
/// return the current URL. |
String get current { |
if (_io != null) { |
- return _io.classes[const Symbol('Directory')] |
- .getField(const Symbol('current')).reflectee.path; |
+ return _io.classes[#Directory].getField(#current).reflectee.path; |
} else if (_html != null) { |
- return _html.getField(const Symbol('window')) |
- .reflectee.location.href; |
+ return _html.getField(#window).reflectee.location.href; |
} else { |
return '.'; |
} |
@@ -869,8 +867,8 @@ abstract class Style { |
static Style _getPlatformStyle() { |
if (_io == null) return Style.url; |
- if (_io.classes[const Symbol('Platform')] |
- .getField(const Symbol('operatingSystem')).reflectee == 'windows') { |
+ if (_io.classes[#Platform].getField(#operatingSystem) |
+ .reflectee == 'windows') { |
return Style.windows; |
} |