Skip to content

Dart Analyzer goes into an infinite loop if file contains Stream<List<>> #42229

Closed
@alexander-doroshko

Description

@alexander-doroshko

Reproducible with Dart SDK 2.8.4 and 2.9.0-13.0.dev. Create file foo.dart with the following content

Stream<List<>>

and run dartanalyzer foo.dart. Dart Analyzer runs some infinite calculations which never end.

The same with Dart Analysis Server, so to reproduce just type Stream<List<>> in an empty file in any IDE.

Metadata

Metadata

Assignees

Labels

crashProcess exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash.legacy-area-analyzerUse area-devexp instead.legacy-area-front-endLegacy: Use area-dart-model instead.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions