| Index: pkg/source_maps/lib/span.dart
|
| diff --git a/pkg/source_maps/lib/span.dart b/pkg/source_maps/lib/span.dart
|
| index 91cfcd39c9e7c493ec449f2a0996a9e41a0f8334..600506ee1e4323591ede8705eae5b9ece702c35f 100644
|
| --- a/pkg/source_maps/lib/span.dart
|
| +++ b/pkg/source_maps/lib/span.dart
|
| @@ -64,7 +64,8 @@ abstract class Span implements Comparable {
|
|
|
| String getLocationMessage(String message,
|
| {bool useColors: false, String color}) {
|
| - var source = url == null ? '' : ' of ${p.prettyUri(url)}';
|
| + var source = start.sourceUrl == null ? '' :
|
| + ' of ${p.prettyUri(start.sourceUrl)}';
|
| return 'line ${start.line + 1}, column ${start.column + 1}$source: ' +
|
| message;
|
| }
|
|
|