Some more fixes on the analyzer

Sadly, the analyzer doesn't support custom file types yet,
so that's it for the moor analyzer plugin for now.
This commit is contained in:
Simon Binder 2019-07-31 18:05:54 +02:00
parent 4210c0c836
commit f4bd6828a9
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
2 changed files with 5 additions and 2 deletions

View File

@ -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
# path: /home/simon/IdeaProjects/moor/sqlparser

View File

@ -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<Completer<MoorAnalysisResults>> _waiting = [];