Fix a bug in FixedSpan.getLocationMessage.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org//346993002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/source_maps@37531 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 55d7896..f40a16d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.9.2+2
+
+* Fix a bug in `FixedSpan.getLocationMessage`.
+
 ## 0.9.2+1
 
 * Minor readability improvements to `FixedSpan.getLocationMessage` and
diff --git a/lib/span.dart b/lib/span.dart
index 91cfcd3..600506e 100644
--- a/lib/span.dart
+++ b/lib/span.dart
@@ -64,7 +64,8 @@
 
   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;
   }
diff --git a/pubspec.yaml b/pubspec.yaml
index 7fae470..80c7e7f 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
 name: source_maps
-version: 0.9.2+1
+version: 0.9.2+2
 author: Dart Team <misc@dartlang.org>
 description: Library to programmatically manipulate source map files.
 homepage: http://www.dartlang.org