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

Unified Diff: lib/src/source_code.dart

Issue 1182953003: Eat some dogfood! (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 6 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
Index: lib/src/source_code.dart
diff --git a/lib/src/source_code.dart b/lib/src/source_code.dart
index 795359f3712c47f8c6cfd1eec7039a91f013919c..a79c220e43eadc9a0a11ba256d5cb988411abe22 100644
--- a/lib/src/source_code.dart
+++ b/lib/src/source_code.dart
@@ -50,7 +50,9 @@ class SourceCode {
}
SourceCode(this.text,
- {this.uri, this.isCompilationUnit: true, this.selectionStart,
+ {this.uri,
+ this.isCompilationUnit: true,
+ this.selectionStart,
this.selectionLength}) {
// Must either provide both selection bounds or neither.
if ((selectionStart == null) != (selectionLength == null)) {

Powered by Google App Engine
This is Rietveld 408576698