| Index: pkg/compiler/lib/src/io/position_information.dart
|
| diff --git a/pkg/compiler/lib/src/io/position_information.dart b/pkg/compiler/lib/src/io/position_information.dart
|
| index 38df2215a7153fff167a3b3e4e9c5f53920c5d50..3b01a6fe4140bc01e220ed593568894081b664b3 100644
|
| --- a/pkg/compiler/lib/src/io/position_information.dart
|
| +++ b/pkg/compiler/lib/src/io/position_information.dart
|
| @@ -8,7 +8,8 @@
|
| library dart2js.source_information.position;
|
|
|
| import '../common.dart';
|
| -import '../elements/elements.dart' show AstElement, FieldElement, ResolvedAst, ResolvedAstKind;
|
| +import '../elements/elements.dart'
|
| + show AstElement, FieldElement, ResolvedAst, ResolvedAstKind;
|
| import '../js/js.dart' as js;
|
| import '../js/js_debug.dart';
|
| import '../js/js_source_mapping.dart';
|
| @@ -150,14 +151,14 @@ class PositionSourceInformationBuilder implements SourceInformationBuilder {
|
| SourceInformation buildDeclaration(ResolvedAst resolvedAst) {
|
| if (resolvedAst.kind != ResolvedAstKind.PARSED) {
|
| SourceSpan span = resolvedAst.element.sourcePosition;
|
| - return new PositionSourceInformation(new OffsetSourceLocation(
|
| - sourceFile, span.begin, name));
|
| + return new PositionSourceInformation(
|
| + new OffsetSourceLocation(sourceFile, span.begin, name));
|
| } else {
|
| return new PositionSourceInformation(
|
| - new OffsetSourceLocation(sourceFile,
|
| - resolvedAst.node.getBeginToken().charOffset, name),
|
| - new OffsetSourceLocation(sourceFile,
|
| - resolvedAst.node.getEndToken().charOffset, name));
|
| + new OffsetSourceLocation(
|
| + sourceFile, resolvedAst.node.getBeginToken().charOffset, name),
|
| + new OffsetSourceLocation(
|
| + sourceFile, resolvedAst.node.getEndToken().charOffset, name));
|
| }
|
| }
|
|
|
|
|