Skip to content

ls dependencies --tree fails when targets are provided #4552

@dpwiz

Description

@dpwiz

General summary/comments (optional)

I've built a stack from the git master and tried to test the thing.

Steps to reproduce

$ stack ls dependencies aeson --tree

Expected

Dependency tree for aeson package.

Actual

Packages
Map.!: given key is not an element in the map
CallStack (from HasCallStack):
  error, called at libraries/containers/Data/Map/Internal.hs:610:17 in containers-0.6.0.1:Data.Map.Internal

Stack version

$ stack --version
Version 1.10.0 (6854 commits) x86_64 hpack-0.31.1

Method of installation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions