You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DanTup opened this issue
May 14, 2024
· 3 comments
Assignees
Labels
P1A high priority bug; for example, a single project is unusable or has many test failurestype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)
This was originally reported by @gaaclarke at Dart-Code/Dart-Code#5101. Opening the Flutter engine code would cause the analysis server to sit using 100% CPU indefinitely. It turns out to be caused by the nested Dart SDK, and indeed you can reproduce the issue opening this whole repository here.
srawlins
added
P1
A high priority bug; for example, a single project is unusable or has many test failures
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
labels
May 14, 2024
pq
transferred this issue from dart-lang/sdk
May 14, 2024
P1A high priority bug; for example, a single project is unusable or has many test failurestype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)
This was originally reported by @gaaclarke at Dart-Code/Dart-Code#5101. Opening the Flutter engine code would cause the analysis server to sit using 100% CPU indefinitely. It turns out to be caused by the nested Dart SDK, and indeed you can reproduce the issue opening this whole repository here.
It seems to get stuck in a loop in this code:
https://github.com/dart-lang/sdk/blob/f774ec53e7b107664baf65a50395a717c3de26a2/pkg/linter/lib/src/rules/avoid_redundant_argument_values.dart#L138-L140
Because the constructors redirect to each other:
The source of the file that's being analyzed is here:
https://github.com/dart-lang/sdk/blob/f774ec53e7b107664baf65a50395a717c3de26a2/tests/language/factory/redirection3_cyclic_test.dart#L7-L16
The text was updated successfully, but these errors were encountered: