diff --git a/moor/tools/analyzer_plugin/pubspec.yaml b/moor/tools/analyzer_plugin/pubspec.yaml index e66dd028..194c4bbf 100644 --- a/moor/tools/analyzer_plugin/pubspec.yaml +++ b/moor/tools/analyzer_plugin/pubspec.yaml @@ -5,8 +5,11 @@ description: This pubspec is a part of moor and determines the version of the mo dependencies: moor_generator: +# To work on this plugin, you need to add the absolute paths here. Relative paths aren't supported yet +# https://github.com/dart-lang/sdk/issues/35281 + #dependency_overrides: # moor_generator: # path: /home/simon/IdeaProjects/moor/moor_generator # sqlparser: -# path: /home/simon/IdeaProjects/moor/sqlparser \ No newline at end of file +# path: /home/simon/IdeaProjects/moor/sqlparser diff --git a/moor_generator/lib/src/plugin/state/file_tracker.dart b/moor_generator/lib/src/plugin/state/file_tracker.dart index a77fdc58..42c982b2 100644 --- a/moor_generator/lib/src/plugin/state/file_tracker.dart +++ b/moor_generator/lib/src/plugin/state/file_tracker.dart @@ -110,7 +110,7 @@ class TrackedFile { /// Whether this file has been given an elevated priority, for instance /// because the user is currently typing in it. - bool _prioritized; + bool _prioritized = false; MoorAnalysisResults _currentResult; final List> _waiting = [];