| Index: pkg/analysis_server/lib/src/context_manager.dart
|
| diff --git a/pkg/analysis_server/lib/src/context_manager.dart b/pkg/analysis_server/lib/src/context_manager.dart
|
| index 430b75c1a23d351677eaa340eda10f315f709244..f412eb45a647141c0acb3f2b7c773c52f8993f66 100644
|
| --- a/pkg/analysis_server/lib/src/context_manager.dart
|
| +++ b/pkg/analysis_server/lib/src/context_manager.dart
|
| @@ -1179,7 +1179,7 @@ class ContextManagerImpl implements ContextManager {
|
| */
|
| bool _isContainedInDotFolder(String root, String path) {
|
| String pathDir = absolutePathContext.dirname(path);
|
| - String suffixPath = absolutePathContext.suffix(pathDir, root);
|
| + String suffixPath = absolutePathContext.suffix(root, pathDir);
|
| if (suffixPath == null) {
|
| return false;
|
| }
|
| @@ -1215,7 +1215,7 @@ class ContextManagerImpl implements ContextManager {
|
| * context root [root], contains a 'packages' folder.
|
| */
|
| bool _isInPackagesDir(String root, String path) {
|
| - String suffixPath = absolutePathContext.suffix(path, root);
|
| + String suffixPath = absolutePathContext.suffix(root, path);
|
| if (suffixPath == null) {
|
| return false;
|
| }
|
| @@ -1228,7 +1228,7 @@ class ContextManagerImpl implements ContextManager {
|
| * context root [root].
|
| */
|
| bool _isInTopLevelDocDir(String root, String path) {
|
| - String suffixPath = absolutePathContext.suffix(path, root);
|
| + String suffixPath = absolutePathContext.suffix(root, path);
|
| if (suffixPath == null) {
|
| return false;
|
| }
|
|
|