| Index: runtime/bin/path_impl.dart
|
| diff --git a/runtime/bin/path_impl.dart b/runtime/bin/path_impl.dart
|
| index 91d1ed332afd6ed55a2c5e16a1ba82c7f5f9bdd2..2d04e9e83e1ed514e656d408bc1be899b14e8c38 100644
|
| --- a/runtime/bin/path_impl.dart
|
| +++ b/runtime/bin/path_impl.dart
|
| @@ -29,7 +29,7 @@ class _Path implements Path {
|
| return clean;
|
| }
|
|
|
| - bool get isEmpty => _path.isEmpty();
|
| + bool get isEmpty => _path.isEmpty;
|
| bool get isAbsolute => _path.startsWith('/');
|
| bool get hasTrailingSeparator => _path.endsWith('/');
|
|
|
| @@ -129,7 +129,7 @@ class _Path implements Path {
|
| List segs = segments();
|
| String drive;
|
| if (isAbs &&
|
| - !segs.isEmpty() &&
|
| + !segs.isEmpty &&
|
| segs[0].length == 2 &&
|
| segs[0][1] == ':') {
|
| drive = segs[0];
|
| @@ -140,7 +140,7 @@ class _Path implements Path {
|
| switch (segment) {
|
| case '..':
|
| // Absolute paths drop leading .. markers, including after a drive.
|
| - if (newSegs.isEmpty()) {
|
| + if (newSegs.isEmpty) {
|
| if (isAbs) {
|
| // Do nothing: drop the segment.
|
| } else {
|
| @@ -170,7 +170,7 @@ class _Path implements Path {
|
| }
|
| }
|
|
|
| - if (newSegs.isEmpty()) {
|
| + if (newSegs.isEmpty) {
|
| if (isAbs) {
|
| segmentsToJoin.add('');
|
| } else {
|
|
|