Index: pkg/analysis_server/lib/src/analysis_server.dart |
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart |
index c8a653a391edf74922ad47b1b04cdcfc082e99f3..6985ff56a3a33482e391c2b4ab4b62b24a2bd8a9 100644 |
--- a/pkg/analysis_server/lib/src/analysis_server.dart |
+++ b/pkg/analysis_server/lib/src/analysis_server.dart |
@@ -401,7 +401,7 @@ class AnalysisServer { |
for (String pattern in patterns) { |
try { |
_analyzedFilesGlobs |
- .add(new Glob(JavaFile.pathContext.separator, pattern)); |
+ .add(new Glob(resourceProvider.pathContext.separator, pattern)); |
} catch (exception, stackTrace) { |
AnalysisEngine.instance.logger.logError( |
'Invalid glob pattern: "$pattern"', |