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

Unified Diff: pkg/analyzer/lib/src/generated/source.dart

Issue 1450163003: Fix the build by removing a not-yet needed method (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/source.dart
diff --git a/pkg/analyzer/lib/src/generated/source.dart b/pkg/analyzer/lib/src/generated/source.dart
index 850846810b7e16d1a8138144706a3c58687bc684..24fec623ea748adab62aba90c34383d566fd6c2a 100644
--- a/pkg/analyzer/lib/src/generated/source.dart
+++ b/pkg/analyzer/lib/src/generated/source.dart
@@ -208,16 +208,16 @@ class LineInfo {
}
}
- /**
- * Return the offset of the first character on the line with the given
- * [lineNumber].
- */
- int getLineOffset(int lineNumber) {
- if (lineNumber < 0 || lineNumber >= _lineStarts.length) {
- throw new ArgumentError('Invalid line number: $lineNumber');
- }
- return _lineStarts[lineNumber];
- }
+// /**
+// * Return the offset of the first character on the line with the given
+// * [lineNumber].
+// */
+// int getLineOffset(int lineNumber) {
+// if (lineNumber < 0 || lineNumber >= _lineStarts.length) {
+// throw new ArgumentError('Invalid line number: $lineNumber');
+// }
+// return _lineStarts[lineNumber];
+// }
/**
* Return the location information for the character at the given offset.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698