| Index: lib/compiler/implementation/source_file.dart
|
| diff --git a/lib/compiler/implementation/source_file.dart b/lib/compiler/implementation/source_file.dart
|
| index c32225b8f1f5ea724d0860ee18b09b6db7391a01..d517e76eb22146f4e81039495b7ef84cc88c7edb 100644
|
| --- a/lib/compiler/implementation/source_file.dart
|
| +++ b/lib/compiler/implementation/source_file.dart
|
| @@ -40,7 +40,7 @@ class SourceFile {
|
|
|
| int getLine(int position) {
|
| List<int> starts = lineStarts;
|
| - if (position < 0 || starts.last() <= position) {
|
| + if (position < 0 || starts.last <= position) {
|
| throw 'bad position #$position in file $filename with '
|
| 'length ${text.length}.';
|
| }
|
|
|