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)) { |