There is an analyzer bug fixed on 0.40.2 where watched files are refreshed more often than they should during code gen, leading to deadlocks. See https://github.com/dart-lang/sdk/issues/43073 for more context.
This PR enables affected projects using functional_widget to update to versions of the analyzer where the bug has been fixed.
I also ran pub run test under functional_widget and flutter pub run build_runner watch under functional_widget/example. Let me know if there's other ways I should be testing this.
There is an analyzer bug fixed on 0.40.2 where watched files are refreshed more often than they should during code gen, leading to deadlocks. See https://github.com/dart-lang/sdk/issues/43073 for more context.
This PR enables affected projects using
functional_widget
to update to versions of the analyzer where the bug has been fixed.Based on https://pub.dev/packages/analyzer/changelog there are no breaking changes in between ">=0.39.8 <0.41.0".
I also ran
pub run test
underfunctional_widget
andflutter pub run build_runner watch
underfunctional_widget/example
. Let me know if there's other ways I should be testing this.