-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresanalyzer-stabilitylegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Originally reported by @Andersmholmgren in WebStorm's issue tracker. The project is open-source, see links in WebStorm's issue.
See IntelliJ IDEA log with Analysis Server traces: idea.log.txt.
Part of the trace pasted here:
Dart analysis server, SDK version 1.16.0-dev.1.0, server version 1.15.0, error: Task failed: ResolveInstanceFieldsInUnitTask for source /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/plugin/engine_plugin.dart
Infinite loop while performing task ResolveInstanceFieldsInUnitTask for /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/plugin/engine_plugin.dart in /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/plugin/engine_plugin.dart
Dependency Cycle:
Run ResolveInstanceFieldsInUnitTask on /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/analyzer.dart in /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/analyzer.dart
Run InferStaticVariableTypesInUnitTask on /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/analyzer.dart in /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/analyzer.dart
Run PartiallyResolveUnitReferencesTask on /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/analyzer.dart in /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/analyzer.dart
Run InferInstanceMembersInUnitTask on /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/plugin/engine_plugin.dart in /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/plugin/engine_plugin.dart
Run ResolveInstanceFieldsInUnitTask on /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/plugin/engine_plugin.dart in /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/plugin/engine_plugin.dart
...
Cyclic Path:
CREATED_RESOLVED_UNIT9 for /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/plugin/engine_plugin.dart in /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/plugin/engine_plugin.dart
CREATED_RESOLVED_UNIT9 for /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/task/dart_work_manager.dart in /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/task/dart_work_manager.dart
CREATED_RESOLVED_UNIT9 for /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/plugin/engine_plugin.dart in /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/plugin/engine_plugin.dart
INFERABLE_STATIC_VARIABLES_IN_UNIT for /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/string_source.dart in /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/string_source.dart
CREATED_RESOLVED_UNIT7 for /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/string_source.dart in /Users/blah/.pub-cache/hosted/pub.dartlang.org/analyzer-0.27.2/lib/src/string_source.dart
Metadata
Metadata
Assignees
Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresanalyzer-stabilitylegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)