Skip to content

Commit c5a436d

Browse files
committed
fixes dart-lang/source_maps#16
1 parent 51e3022 commit c5a436d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkgs/source_maps/lib/builder.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ class Entry implements Comparable {
7777
/// location in the target file. We sort primarily by the target offset
7878
/// because source map files are encoded by printing each mapping in order as
7979
/// they appear in the target file.
80-
int compareTo(Entry other) {
80+
int compareTo(_other) {
81+
Entry other = _other as Entry;
8182
int res = target.compareTo(other.target);
8283
if (res != 0) return res;
8384
res = source.sourceUrl.toString().compareTo(

0 commit comments

Comments
 (0)