| Index: pkg/analyzer2dart/lib/src/util.dart
|
| diff --git a/pkg/analyzer2dart/lib/src/util.dart b/pkg/analyzer2dart/lib/src/util.dart
|
| index 34bc33d998dcb9363b63110de199613a196b3a40..e4b0d33b83246f1b044f74c3f083effc11c8a00e 100644
|
| --- a/pkg/analyzer2dart/lib/src/util.dart
|
| +++ b/pkg/analyzer2dart/lib/src/util.dart
|
| @@ -29,7 +29,7 @@ Selector createSelectorFromMethodInvocation(ArgumentList node,
|
| /// [source].
|
| void reportSourceMessage(Source source, AstNode node, String message) {
|
| SourceFile sourceFile =
|
| - new StringSourceFile(source.fullName, source.contents.data);
|
| + new StringSourceFile.fromName(source.fullName, source.contents.data);
|
|
|
| print(sourceFile.getLocationMessage(message, node.offset, node.end));
|
| }
|
|
|