Index: sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart b/sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart |
index dead76f2d546b48086bb925bae6e768cfa0dc648..e95c25e62771a3957c5937774e7207b97f2f2b6e 100644 |
--- a/sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart |
+++ b/sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart |
@@ -272,7 +272,7 @@ class _BarbackCompilerProvider implements dart.CompilerProvider { |
var sourcePath = path.fromUri(resourceUri); |
return _readResource(resourceUri).then((source) { |
_sourceFiles[resourceUri.toString()] = |
- new StringSourceFile(path.relative(sourcePath), source); |
+ new StringSourceFile(resourceUri, path.relative(sourcePath), source); |
return source; |
}); |
} |