Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: pkg/compiler/lib/src/io/source_information.dart

Issue 1859343004: dartfmt pkg/compiler (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/io/source_file.dart ('k') | pkg/compiler/lib/src/io/source_map_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/io/source_information.dart
diff --git a/pkg/compiler/lib/src/io/source_information.dart b/pkg/compiler/lib/src/io/source_information.dart
index 8a24759a83ef141586450faed31da21325f71929..ec2b933255204896235dd13fe5a74b6a53cad5d8 100644
--- a/pkg/compiler/lib/src/io/source_information.dart
+++ b/pkg/compiler/lib/src/io/source_information.dart
@@ -5,14 +5,9 @@
library dart2js.source_information;
import '../common.dart';
-import '../elements/elements.dart' show
- AstElement,
- LocalElement;
-import '../tree/tree.dart' show
- Node,
- Send;
-import '../js/js.dart' show
- JavaScriptNodeSourceInformation;
+import '../elements/elements.dart' show AstElement, LocalElement;
+import '../tree/tree.dart' show Node, Send;
+import '../js/js.dart' show JavaScriptNodeSourceInformation;
import 'source_file.dart';
/// Interface for passing source information, for instance for use in source
@@ -181,16 +176,16 @@ abstract class SourceLocation {
int get hashCode {
return sourceUri.hashCode * 17 +
- offset.hashCode * 17 +
- sourceName.hashCode * 23;
+ offset.hashCode * 17 +
+ sourceName.hashCode * 23;
}
bool operator ==(other) {
if (identical(this, other)) return true;
if (other is! SourceLocation) return false;
return sourceUri == other.sourceUri &&
- offset == other.offset &&
- sourceName == other.sourceName;
+ offset == other.offset &&
+ sourceName == other.sourceName;
}
String get shortText {
« no previous file with comments | « pkg/compiler/lib/src/io/source_file.dart ('k') | pkg/compiler/lib/src/io/source_map_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698