Skip to content

Directory.parent always returns "." for relative path #29692

Open
@sgrekhov

Description

  Directory dir = new Directory("SomeDir");
  print(dir.parent); // Directory: '.'
  print(dir.parent.parent.parent); // Directory: '.'

Tested on Dart VM version: 1.24.0-dev.5.0 (Fri May 19 01:47:01 2017) on "windows_x64"

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-iotype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions