Skip to content

Inline values should not be produced for Iterables, Streams, Futures #60402

Closed
@FMorschel

Description

@FMorschel

If you have this code:

void main() {
  f({}, []);
}

void f(Set<int> s, List<int> l) {
  print('test');
}

And place a breakpoint on print, these are the values you'll see:

Image

It feels a bit weird that s only shows Set and l shows List (0 items). I feel like all iterables should display the number of items or something like that.

CC @DanTup

Metadata

Metadata

Assignees

Labels

P3A lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-lspIssues with analysis server's support of Language Server Protocol

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions