Skip to content

Commit 062fbe4

Browse files
committed
Reorder for consistency
1 parent 470429d commit 062fbe4

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

dwds/lib/src/debugging/location.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ class Locations {
171171
}
172172
}
173173
} else {
174-
_sourceToTokenPosTable.clear();
175174
_locationMemoizer.clear();
176-
_sourceToLocation.clear();
177175
_moduleToLocations.clear();
176+
_sourceToTokenPosTable.clear();
177+
_sourceToLocation.clear();
178178
_entrypoint = entrypoint;
179179
}
180180
}

dwds/lib/src/debugging/modules.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ class Modules {
5454
}
5555
await _initializeMapping(modifiedModuleReport);
5656
} else {
57-
_sourceToModule.clear();
58-
_moduleToSources.clear();
57+
_entrypoint = entrypoint;
5958
_sourceToLibrary.clear();
59+
_sourceToModule.clear();
6060
_libraryToModule.clear();
61+
_moduleToSources.clear();
6162
_moduleMemoizer = AsyncMemoizer();
62-
_entrypoint = entrypoint;
6363
}
6464
}
6565

dwds/lib/src/debugging/skip_list.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class SkipLists {
3636
}
3737
} else {
3838
_idToList.clear();
39+
_urlToId.clear();
3940
}
4041
}
4142

0 commit comments

Comments
 (0)